Class: SqliteSessionStore
Defined in: src/tollgate/session/sqlite-store.ts:59 SQLite-backed session store for persistent session grants. Features:- Sessions survive process restarts
- Automatic cleanup of expired grants
- Thread-safe via SQLite’s locking
Implements
Constructors
Constructor
Parameters
dbPath
string
Returns
SqliteSessionStore
Methods
clear()
Returns
void
Implementation of
close()
Returns
void
delete()
Parameters
id
string
Returns
boolean
Implementation of
findMatching()
Parameters
context
Returns
SessionGrant[]
Implementation of
get()
Parameters
id
string
Returns
SessionGrant | undefined
Implementation of
getAll()
Returns
SessionGrant[]
Implementation of
getStats()
Returns
Implementation of
incrementUsage()
Parameters
id
string
Returns
void
pruneExpired()
Returns
number
Implementation of
set()
Parameters
grant
Returns
void