Documentation
¶
Index ¶
- func Auth(a Authenticator) func(http.Handler) http.Handler
- func Default(next http.Handler) http.Handler
- func RejectReadOnly(next http.Handler) http.Handler
- func RevokedToken(checker auth.RevokedTokenChecker) func(http.Handler) http.Handler
- func TagParams(next http.Handler) http.Handler
- type Authenticator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RevokedToken ¶ added in v0.7.0
RevokedToken returns HTTP middleware that rejects requests whose JWT (by JTI) or subject has been revoked according to the provided checker.
Types ¶
Click to show internal directories.
Click to hide internal directories.