Class: InMemorySessionStore
Defined in: src/tollgate/session/manager.ts:52 In-memory session store implementation. Grants are stored in memory and lost on restart. For persistence, use SqliteSessionStore (see session/sqlite-store.ts).Implements
Constructors
Constructor
Returns
InMemorySessionStore
Methods
clear()
Returns
void
Implementation of
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
pruneExpired()
Returns
number
Implementation of
set()
Parameters
grant
Returns
void