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

Method Encode

samlsp/session.go:51–51  ·  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

49 // Note: When implementing this function, it is reasonable to expect that
50 // Session is of the exact type returned by New(), and panic if it is not.
51 Encode(s Session) (string, error)
52
53 // Decode parses the serialized session that may have been returned by Encode
54 // and returns a Session.

Callers 15

MarshalXMLMethod · 0.65
MarshalXMLMethod · 0.65
MarshalXMLMethod · 0.65
MarshalXMLMethod · 0.65
MarshalXMLMethod · 0.65
MarshalXMLMethod · 0.65
MarshalXMLMethod · 0.65
RedirectMethod · 0.65
RedirectMethod · 0.65
NewMiddlewareTestFunction · 0.65

Implementers 1

JWTSessionCodecsamlsp/session_jwt.go

Calls

no outgoing calls