//
pkg.gl
Category
github.com/sot-tech/mochi
middleware
jwt
package
0.1.2
Repository:
https://github.com/sot-tech/mochi.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
14
Dependents
1
Files
223 SLOC
#
Variables
ErrInvalidJWT
ErrInvalidJWT is returned when a JWT fails to verify.
ErrMissingJWT
ErrMissingJWT is returned when a JWT is missing from a request.
#
Structs
Config
Config represents all the values required by this middleware to fetch JWKs and verify JWTs.