Documentation
¶
Index ¶
- func Attempt(authenticator authn.Authenticator) func(http.Handler) http.Handler
- func Attempts(authenticators ...authn.Authenticator) func(http.Handler) http.Handler
- func RequireContainerAccess(urlProvider url.Provider) func(http.Handler) http.Handler
- func Sudo(p store.PrincipalStore) func(http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Attempt ¶
Attempt returns an http.HandlerFunc middleware that authenticates the http.Request if authentication payload is available. Otherwise, an anonymous user session is used instead.
func RequireContainerAccess ¶
RequireContainerAccess tell client the next token-generate endpoint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.