# Functions
Metrics returns the Metrics relevant to this package.
NewJWTValidationMeasures realizes desired metrics.
NewToken extracts the Authorization from the request and returns the Token that results from parsing that header's value.
ParseAuthorization parses the raw Authorization string and returns a Token.
ParseTokenType returns the TokenType corresponding to a string.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Names for our metrics.
No description provided by the author
Names for our metrics.
Names for our metrics.
No description provided by the author
# Variables
DefaultJWSParser is the parser implementation that simply delegates to the SermoDigital library's jws.ParseJWT function.
No description provided by the author
No description provided by the author
# Structs
JWSValidator provides validation for JWT tokens encoded as JWS.
JWTValidationMeasures describes the defined metrics that will be used by clients.
JWTValidatorFactory is a configurable factory for *jwt.Validator instances.
MockValidator is a stretchr mock, exposed for use by other packages.
Token is the result of parsing an authorization string.
# Type aliases
ExactMatchValidator simply matches a token's value (exluding the prefix, such as "Basic"), to a string.
TokenType is a discriminator for the contents of a secure token.
ValidatorFunc is a function type that implements Validator.
Validators is an aggregate Validator.