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

Method Decode

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

Source from the content-addressed store, hash-verified

34}
35
36func (c opaqueSessionCodec) Decode(value string) (Session, error) {
37 s, err := c.jwt.Decode(value)
38 if err != nil {
39 return nil, err
40 }
41 return opaqueSession{claims: s.(JWTSessionClaims)}, nil
42}
43
44// declaringSessionCodec is a custom SessionCodec that implements
45// RevocableSessionCodec: if revocable is set, it makes RevocableSessions and

Callers

nothing calls this directly

Calls 1

DecodeMethod · 0.65

Tested by

no test coverage detected