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

Struct opaqueSessionCodec

samlsp/session_revocation_codec_test.go:24–26  ·  view source on GitHub ↗

opaqueSessionCodec is a custom SessionCodec that makes sessions a CookieSessionProvider cannot check against its Revocations, and does not implement RevocableSessionCodec.

Source from the content-addressed store, hash-verified

22// CookieSessionProvider cannot check against its Revocations, and does not
23// implement RevocableSessionCodec.
24type opaqueSessionCodec struct {
25 jwt JWTSessionCodec
26}
27
28func (c opaqueSessionCodec) New(assertion *saml.Assertion) (Session, error) {
29 return c.jwt.New(assertion)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected