# Functions
GetAccessToken accepts the iris Context and returns the raw access token value.
GetStandardClaims accepts the iris Context and returns the standard token's claims.
GetUser is the package-level function of the Auth.GetUser method.
LoadConfiguration reads a filename (fullpath) and returns a Configuration binded to the contents of the given filename.
Must is a helper that wraps a call to a function returning (*Auth[T], error) and panics if the error is non-nil.
MustGenerateConfiguration calls the Configuration's BindRandom method and returns the result.
MustLoad binds a filename (fullpath) configuration yaml or json and constructs a new Auth instance.
MustLoadConfiguration same as LoadConfiguration package-level function but it panics on error.
New initializes a new Auth instance typeof T and returns it.
# Structs
DefaultErrorHandler is the default registered ErrorHandler which can be replaced through the Auth.SetErrorHandler method.
# Interfaces
ClaimsProvider is an optional interface, which may not be used at all.
ErrorHandler is an optional interface which can be implemented by a Provider as well.
Provider is an interface of T which MUST be completed by a custom value type to provide user information to the Auth's JWT Token Signer and Verifier.
Transformer is an optional interface which can be implemented by a Provider as well.
# Type aliases
TransformerFunc completes the Transformer interface.
VerifiedToken holds the information about a verified token.