# Packages
Package authenticators contains logic for setting up an Open ID Connect authenticator.
No description provided by the author
No description provided by the author
Code generated by counterfeiter.
# Functions
Decrypt decrypts the cipher text with the provided key using AES.
Encrypt encrypts the plaintext with the provided key using AES.
ForbiddenHTTPError returns HTTPError 403 with some description.
UnauthorizedHTTPError returns HTTPError 401 with some description.
# Variables
ErrUserNotFound error when authentication passed but no user found.
# Structs
TwoLayerEncrypter is an encrypter that fetches the encryption key from a remote location.
# Interfaces
Authenticator extracts the authenticator information from the request and returns information about the current user or an error if security was not successfulgo:generate counterfeiter .
Authorizer extracts the information from the authenticated user and returns a decision if the authorization passedgo:generate counterfeiter .
Encrypter provides functionality to encrypt and decrypt datago:generate counterfeiter .
KeyFetcher provides functionality to get encryption key from a remote locationgo:generate counterfeiter .
KeySetter provides functionality to set encryption key in a remote locationgo:generate counterfeiter .
TokenData represents the authentication tokengo:generate counterfeiter .
TokenVerifier attempts to verify a token and returns it or an error if the verification was not successfulgo:generate counterfeiter .
# Type aliases
Decision represents a decision to allow or deny further processing or to abstain from taking a decision.