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

Method Encode

samlsp/session_revocation_codec_test.go:32–34  ·  view source on GitHub ↗
(s Session)

Source from the content-addressed store, hash-verified

30}
31
32func (c opaqueSessionCodec) Encode(s Session) (string, error) {
33 return c.jwt.Encode(s)
34}
35
36func (c opaqueSessionCodec) Decode(value string) (Session, error) {
37 s, err := c.jwt.Decode(value)

Callers

nothing calls this directly

Calls 1

EncodeMethod · 0.65

Tested by

no test coverage detected