Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingKid = errors.New("missing key id") ErrMatchingKeyNotFound = errors.New("matching key not found") )
Functions ¶
func RequireJWT ¶
func RequireJWT(next http.Handler, tokenVerifier AccessTokenValidator) http.Handler
Types ¶
type AccessTokenValidator ¶
func NewAccessTokenValidator ¶
func NewAccessTokenValidator(keySetProvider keyset.Provider) AccessTokenValidator
Click to show internal directories.
Click to hide internal directories.