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

Method Encode

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

Encode returns a serialized version of the Session. Note: When implementing this function, it is reasonable to expect that Session is of the exact type returned by New(), and panic if it is not.

(s Session)

Source from the content-addressed store, hash-verified

62 // Note: When implementing this function, it is reasonable to expect that
63 // Session is of the exact type returned by New(), and panic if it is not.
64 Encode(s Session) (string, error)
65
66 // Decode parses the serialized session that may have been returned by Encode
67 // and returns a Session.

Implementers 3

stubSessionCodecsamlsp/session_cookie_secure_test.go
JWTSessionCodecsamlsp/session_jwt.go
opaqueSessionCodecsamlsp/session_revocation_codec_test.g

Calls

no outgoing calls