Versions in this module Expand all Collapse all v0 v0.4.0 May 4, 2016 v0.3.0 Mar 3, 2016 Changes in this version + func DefaultGenerateCode() (string, error) + type GenerateCodeFunc func() (string, error) + type SessionManager struct + Clock clockwork.Clock + GenerateCode GenerateCodeFunc + ValidityWindow time.Duration + func NewSessionManager(sRepo session.SessionRepo, skRepo session.SessionKeyRepo) *SessionManager + func (m *SessionManager) AttachRemoteIdentity(sessionID string, ident oidc.Identity) (*session.Session, error) + func (m *SessionManager) AttachUser(sessionID string, userID string) (*session.Session, error) + func (m *SessionManager) ExchangeKey(key string) (string, error) + func (m *SessionManager) Get(sessionID string) (*session.Session, error) + func (m *SessionManager) Kill(sessionID string) (*session.Session, error) + func (m *SessionManager) NewSession(connectorID, clientID, clientState string, redirectURL url.URL, nonce string, ...) (string, error) + func (m *SessionManager) NewSessionKey(sessionID string) (string, error)