package
4.1.0+incompatible
Repository: https://github.com/optimizely/agent.git
Documentation: pkg.go.dev
# Functions
BuildAdminAccessToken returns a token for accessing the Admin service using the argument TTL.
BuildAPIAccessToken returns a token for accessing the API service using the argument SDK keys and TTL.
DecodeConfigValue returns the decoded value from configuration a byte slice, or an error if decoding failed.
GenerateClientSecretAndHash returns a random secret and its hash, for use with Agent's authN/authZ workflow.
ValidateClientSecret returns true if the hash of the secret provided in config matches the secret provided in the request.