handlers

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleJavascriptRedirect

func HandleJavascriptRedirect(w http.ResponseWriter, r *http.Request, rr *requests.AuthorizationRequest)

HandleJavascriptRedirect redirects the requests to configured auth URL by responding Javascript-enabled HTML performing script-based redirection.

func HandleLocationHeaderRedirect

func HandleLocationHeaderRedirect(w http.ResponseWriter, r *http.Request, rr *requests.AuthorizationRequest)

HandleLocationHeaderRedirect redirects the requests to configured auth URL by setting Location header and sending 302.

Types

This section is empty.

Jump to

Keyboard shortcuts

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