package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev

# Functions

AudiencesFrom returns a request's expected audiences stored in the request context.
WithAudiences returns a context that stores a request's expected audiences.
WrapAudienceAgnosticRequest wraps an audience agnostic request authenticator to restrict its accepted audiences to a set of implicit audiences.
WrapAudienceAgnosticToken wraps an audience agnostic token authenticator to restrict its accepted audiences to a set of implicit audiences.

# Structs

Response is the struct returned by authenticator interfaces upon successful authentication.

# Interfaces

Request attempts to extract authentication information from a request and returns a Response or an error if the request could not be checked.
Token checks a string value against a backing authentication store and returns a Response or an error if the token could not be checked.

# Type aliases

Audiences is a container for the Audiences of a token.
RequestFunc is a function that implements the Request interface.
TokenFunc is a function that implements the Token interface.