Versions in this module Expand all Collapse all v0 v0.6.1 Sep 29, 2016 v0.6.0 Sep 22, 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) AttachGroups(sessionID string, groups []string) (*session.Session, error) + 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)