Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewORM ¶
func NewORM(ds sqlutil.DataSource, sd time.Duration, lggr logger.Logger, auditLogger audit.AuditLogger) sessions.AuthenticationProvider
func NewSessionReaper ¶
func NewSessionReaper(ds sqlutil.DataSource, config SessionReaperConfig, lggr logger.Logger) *utils.SleeperTask
NewSessionReaper creates a reaper that cleans stale sessions from the store.
Types ¶
type SessionReaperConfig ¶
type SessionReaperConfig interface { SessionTimeout() commonconfig.Duration SessionReaperExpiration() commonconfig.Duration }
Click to show internal directories.
Click to hide internal directories.