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

Method GetSession

identity_provider.go:61–61  ·  view source on GitHub ↗

GetSession returns the remote user session associated with the http.Request. If (and only if) the request is not associated with a session then GetSession must complete the HTTP request and return nil.

(w http.ResponseWriter, r *http.Request, req *IdpAuthnRequest)

Source from the content-addressed store, hash-verified

59 // If (and only if) the request is not associated with a session then GetSession
60 // must complete the HTTP request and return nil.
61 GetSession(w http.ResponseWriter, r *http.Request, req *IdpAuthnRequest) *Session
62}
63
64// ServiceProviderProvider is an interface used by IdentityProvider to look up

Callers

nothing calls this directly

Implementers 1

CookieSessionProvidersamlsp/session_cookie.go

Calls

no outgoing calls

Tested by

no test coverage detected