Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleHeaderRedirect ¶
func HandleHeaderRedirect(w http.ResponseWriter, r *http.Request, opts map[string]interface{})
HandleHeaderRedirect redirct the requests to configured auth URL by setting Location header and sending 302.
func HandleJSRedirect ¶
func HandleJSRedirect(w http.ResponseWriter, r *http.Request, opts map[string]interface{})
HandleJSRedirect redirects the requests to configured auth URL by responding an HTML with javascript doing the real redirection.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.