Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidAudClaimError = errors.New("Claim 'aud' did not contain valid service id")
View Source
var TokenNotFoundError = errors.New("Authorization header does not contain a bearer token")
Functions ¶
func GetMiddleware ¶
func GetMiddleware(opts JWTValidationOpts) server.MiddlewareFunc
GetMiddleware starts a go routine that periodically fetches the JWKS key set and returns a middleware that uses that keyset to validate a token
Types ¶
type JWTValidationOpts ¶
Click to show internal directories.
Click to hide internal directories.