# Packages
Package mock is a generated GoMock package.
# Functions
AddAuthorizationMetadataToContext adds the authorization Bearer token to the context.
GetClaimsFromContext gets the claims from the context.
NewKeyManager creates a new JWT signer.
NewTokenSigner creates a new JWT signer.
NewTokenVerifier creates a new JWT authenticator.
# Constants
Context keys.
Key constants.
Key constants.
Key constants.
Context keys.
Key constants.
Key constants.
Key constants.
Key constants.
Key constants.
Key constants.
# Structs
ClaimPair represents a key-value pair for a claim.
KeyManager is responsible for generating and managing RSA keys.
TokenClaims is the claims for a JWT token.
TokenInspector is responsible for inspecting JWT token claims.
TokenSigner signs tokens.
TokenVerifier is responsible for generating and verifying JWT tokens.
# Interfaces
KeyManagerer handles key generation and retrieval.
TokenInspectorer is TokenInspector interface.
TokenSignerer signs tokens.
TokenVerifierer is an interface for JWTAuthenticator.
# Type aliases
ContextKey is the key for the context.