handlers

package
v1.3.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL