# Functions
No description provided by the author
GetActionTag returns the tag associated with a route.
LoadConfig loads all the configuration from env and defaults.
NewAuthenticator creates a Authenticator struct and applies the optional functions slice to the struct.
No description provided by the author
NewLoggingHandler creates a new loggingHandler.
No description provided by the author
RobotsTxt handles the /robots.txt route.
SetCookieStore sets the cookie store to use a miscreant cipher.
SetProvider is a function that takes a provider and assigns it to the authenticator.
SetRedirectURL takes an identity provider slug to construct the url callback using the slug and configured redirect url.
SetStatsdClient is function that takes in a statsd client and assigns it to the authenticator and provider.
SetValidator sets the email validator.
# Constants
VERSION is the version of sso_auth.
# Variables
ErrUserNotAuthorized is an error for unauthorized users.
# Structs
No description provided by the author
Authenticator stores all the information associated with proxying the request.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Configuration is the parent struct that holds all the configuration.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HTTPError stores the status code and a message for a given HTTP error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Validator interface ensures all config structs implement Validate().