Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DependencySet = wire.NewSet( wire.Struct(new(StoreRedis), "*"), )
View Source
var ErrNotFound = errors.New("saml slo session entry not found")
Functions ¶
This section is empty.
Types ¶
type SAMLSLOSession ¶
type SAMLSLOSession struct { ID string `json:"id,omitempty"` Entry *SAMLSLOSessionEntry `json:"entry,omitempty"` }
func NewSAMLSLOSession ¶
func NewSAMLSLOSession(entry *SAMLSLOSessionEntry) *SAMLSLOSession
type SAMLSLOSessionEntry ¶
type SAMLSLOSessionEntry struct { PendingLogoutServiceProviderIDs []string `json:"pending_logout_service_provider_ids,omitempty"` LogoutRequestXML string `json:"logout_request_xml,omitempty"` ResponseBinding samlprotocol.SAMLBinding `json:"response_binding,omitempty"` CallbackURL string `json:"callback_url,omitempty"` RelayState string `json:"relay_state,omitempty"` SID string `json:"sid,omitempty"` UserID string `json:"user_id,omitempty"` IsPartialLogout bool `json:"is_partial_logout,omitempty"` PostLogoutRedirectURI string `json:"post_logout_redirect_uri,omitempty"` }
func (*SAMLSLOSessionEntry) LogoutRequest ¶
func (s *SAMLSLOSessionEntry) LogoutRequest() (*samlprotocol.LogoutRequest, bool)
type StoreRedis ¶
func (*StoreRedis) Delete ¶
func (s *StoreRedis) Delete(ctx context.Context, sessionID string) (err error)
func (*StoreRedis) Get ¶
func (s *StoreRedis) Get(ctx context.Context, sessionID string) (entry *SAMLSLOSession, err error)
func (*StoreRedis) Save ¶
func (s *StoreRedis) Save(ctx context.Context, session *SAMLSLOSession) (err error)
Click to show internal directories.
Click to hide internal directories.