# Functions

GenerateSignedToken generates and signs a new JWT with the given claims using key.
GetAccessToken retrieves an access token from the request headers Access tokens must be provided as a Bearer token in the "Authorization" header.
NewAuthenticatedHandler creates a new AuthenticatedHandler.
NewHandlers creates new token auth handlers.
NewPermissionsHandler creates a new PermissionsHandler.
NewScopeHandler creates a new StandardHandler that checks scopes.
NewStandardHandler creates a new StandardHandler.
NewTokenAuth creates and configures a new TokenAuth instance authorization maybe nil if performing manual authorization.
NewUserHandler creates a new UserHandler.

# Constants

AudRokwire represents the ROKWIRE audience.

# Structs

AuthenticatedHandler entity This enforces that the token was the result of direct user authentication.
Claims represents the standard claims included in access tokens.
Handlers represents the standard token auth handlers.
PermissionsHandler entity This enforces that the token has permissions matching the policy.
StandardHandler entity This enforces that the token is valid.
TokenAuth contains configurations and helper functions required to validate tokens.
UserHandler entity This enforces that the token is not anonymous.

# Interfaces

Handler is an interface for token auth handlers.