Versions in this module Expand all Collapse all v1 v1.0.0 May 10, 2020 Changes in this version + func New(store sessions.Store, opts samlsp.Options) (*samlsp.Middleware, error) + type RequestTracker struct + Codec samlsp.TrackedRequestCodec + MaxAge time.Duration + NamePrefix string + ServiceProvider *saml.ServiceProvider + Store sessions.Store + func DefaultRequestTracker(store sessions.Store, opts samlsp.Options, ...) *RequestTracker + func (t *RequestTracker) GetTrackedRequest(r *http.Request, index string) (*samlsp.TrackedRequest, error) + func (t *RequestTracker) GetTrackedRequests(r *http.Request) []samlsp.TrackedRequest + func (t *RequestTracker) StopTrackingRequest(w http.ResponseWriter, r *http.Request, index string) error + func (t *RequestTracker) TrackRequest(w http.ResponseWriter, r *http.Request, samlRequestID string) (string, error) + type SessionProvider struct + Codec samlsp.SessionCodec + Domain string + HTTPOnly bool + MaxAge time.Duration + Name string + Secure bool + Store sessions.Store + func DefaultSessionProvider(store sessions.Store, opts samlsp.Options) *SessionProvider + func (s *SessionProvider) CreateSession(w http.ResponseWriter, r *http.Request, assertion *saml.Assertion) error + func (s *SessionProvider) DeleteSession(w http.ResponseWriter, r *http.Request) error + func (s *SessionProvider) GetSession(r *http.Request) (samlsp.Session, error)