Documentation
¶
Index ¶
Constants ¶
View Source
const AuthContextKey = "auth"
View Source
const WhoamiEndpoint = "whoami"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthMiddleware ¶
type AuthMiddleware struct {
// contains filtered or unexported fields
}
func NewAuthMiddleware ¶
func NewAuthMiddleware(authServer string) (mid *AuthMiddleware, err error)
func (*AuthMiddleware) NonBlockingHandler ¶ added in v0.3.5
func (a *AuthMiddleware) NonBlockingHandler(next http.Handler) http.Handler
Click to show internal directories.
Click to hide internal directories.