Documentation
¶
Index ¶
- func Authorize(next string, userStore auth.UserStore, denied string, ttl int) http.Handler
- func Bunt(next string, userStore auth.UserStore, denied string) http.Handler
- func Defend(next http.Handler, userStore auth.UserStore, denied string) http.Handler
- func Fortify(next http.Handler) http.Handler
- func Protected(next http.Handler, method string, userStore auth.UserStore, login string) http.Handler
- func Provision(userStore auth.UserStore, ttl int) http.Handler
- func Throttle(next http.Handler, limiter rateLimiter.RateLimiter) http.Handler
- func Validate(next http.Handler, userStore auth.UserStore, scopes map[string]string) http.Handler
- type TokenPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Throttle ¶
func Throttle(next http.Handler, limiter rateLimiter.RateLimiter) http.Handler
Types ¶
type TokenPayload ¶
Click to show internal directories.
Click to hide internal directories.