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

Method GetSession

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

GetSession returns the current Session associated with the request, or an error matching ErrNoSession (as determined by errors.Is) if there is no valid session. Such an error may wrap the underlying cause.

(r *http.Request)

Source from the content-addressed store, hash-verified

49 // an error matching ErrNoSession (as determined by errors.Is) if there is
50 // no valid session. Such an error may wrap the underlying cause.
51 GetSession(r *http.Request) (Session, error)
52}
53
54// SessionCodec is an interface to convert SAML assertions to a

Implementers 3

CookieSessionProvidersamlsp/session_cookie.go
covSessionProvidersamlsp/middleware_coverage_test.go
staticSessionProvidersamlsp/middleware_logout_test.go

Calls

no outgoing calls