MCPcopy Create free account
hub / github.com/crewjam/saml / CreateSession

Method CreateSession

samlsp/session.go:30–30  ·  view source on GitHub ↗

CreateSession is called when we have received a valid SAML assertion and should create a new session and modify the http response accordingly, e.g. by setting a cookie.

(w http.ResponseWriter, r *http.Request, assertion *saml.Assertion)

Source from the content-addressed store, hash-verified

28 // should create a new session and modify the http response accordingly, e.g. by
29 // setting a cookie.
30 CreateSession(w http.ResponseWriter, r *http.Request, assertion *saml.Assertion) error
31
32 // DeleteSession is called to modify the response such that it removed the current
33 // session, e.g. by deleting a cookie.

Implementers 1

CookieSessionProvidersamlsp/session_cookie.go

Calls

no outgoing calls