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.
Click to show internal directories.
Click to hide internal directories.