Documentation ¶
Index ¶
- Variables
- func Authenticator(logf func(v ...any)) func(http.Handler) http.Handler
- func FromContext(ctx context.Context) (jwt.Token, map[string]interface{}, error)
- func NewContext(ctx context.Context, t jwt.Token, err error) context.Context
- func Verifier[prop verificationProp](vp prop) func(http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TokenCtxKey = &contextKey{"Token"} ErrorCtxKey = &contextKey{"Error"} )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.