saml

package
v0.0.0-...-5c79d48 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SAMLSessionCookieName is the name of the SAML IdP session cookie.
	// This cookie is set by SAML IdP after a successful SAML authentication.
	SAMLSessionCookieName = "__Host-saml_session"
)

Variables

This section is empty.

Functions

func ClearCookie

func ClearCookie(w http.ResponseWriter)

ClearCookie wipes the session cookie to invalidate SAML user session.

func SetCookie

func SetCookie(w http.ResponseWriter, sessionID string, maxAgeSeconds int)

SetCookie set's the SAML session cookie named by SAMLSessionCookieName.

Types

This section is empty.

Jump to

Keyboard shortcuts

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