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

Method Decode

samlsp/session_revocation_codec_test.go:52–57  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

50}
51
52func (c declaringSessionCodec) Decode(value string) (Session, error) {
53 if c.revocable {
54 return c.jwt.Decode(value)
55 }
56 return c.opaqueSessionCodec.Decode(value)
57}
58
59func (c declaringSessionCodec) RevocableSessions() bool {
60 return c.revocable

Callers

nothing calls this directly

Calls 1

DecodeMethod · 0.65

Tested by

no test coverage detected