WithAudiences returns a context that stores a request's expected audiences.
Audiences is a container for the Audiences of a token.
AudiencesFrom returns a request's expected audiences stored in the request context.
Has checks if Audiences contains a specific audiences.
Intersect intersects Audiences with a target Audiences and returns all elements in both.
Request attempts to extract authentication information from a request and returns a Response or an error if the request could not be checked.
WrapAudienceAgnosticRequest wraps an audience agnostic request authenticator to restrict its accepted audiences to a set of implicit audiences.
RequestFunc is a function that implements the Request interface.
AuthenticateRequest implements authenticator.Request.
Response is the struct returned by authenticator interfaces upon successful authentication. It contains information about whether the authenticator authenticated the request, information about the context of the authentication, and information about the authenticated user.
Token checks a string value against a backing authentication store and returns a Response or an error if the token could not be checked.
WrapAudienceAgnosticToken wraps an audience agnostic token authenticator to restrict its accepted audiences to a set of implicit audiences.
TokenFunc is a function that implements the Token interface.
AuthenticateToken implements authenticator.Token.