handlers

package
v1.0.47 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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