Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttemptWeb ¶
func AttemptWeb(authenticator authn.Authenticator, instanceCtrl *instance.Controller, authCtrl *auth.Controller, cookieName string) func(http.Handler) http.Handler
AttemptWeb returns an http.HandlerFunc middleware that authenticates the http.Request if authentication html payload is available. Otherwise, user will be redirected to login
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.