server

package
v0.0.0-...-2f92620 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleAuthTokenRequest

func HandleAuthTokenRequest(w http.ResponseWriter, r *http.Request)

HandleAuthTokenRequest generates the raw jwt token and sends it across.

func HandleLogoutRequest

func HandleLogoutRequest(w http.ResponseWriter, r *http.Request)

HandleLogoutRequest function invalidates the sso cookie.

func HandleSSOGetRequest

func HandleSSOGetRequest(w http.ResponseWriter, r *http.Request)

HandleSSOGetRequest presents the login form

func HandleSSOPostRequest

func HandleSSOPostRequest(w http.ResponseWriter, r *http.Request)

HandleSSOPostRequest sets the sso cookie.

func HandleTestRequest

func HandleTestRequest(w http.ResponseWriter, r *http.Request)

HandleTestRequest function is just for the purpose of testing.

Types

type TmplData

type TmplData struct {
	QueryString string
	Error       bool
}

Jump to

Keyboard shortcuts

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