Interface: SessionStore
Defined in: src/tollgate/session/types.ts:219 Interface for session storage backends. Allows for in-memory or persistent storage.Methods
clear()
Returns
void
delete()
Parameters
id
string
Returns
boolean
findMatching()
Parameters
context
Returns
SessionGrant[]
get()
Parameters
id
string
Returns
SessionGrant | undefined
getAll()
Returns
SessionGrant[]
getStats()
Returns
pruneExpired()
Returns
number
set()
Parameters
grant
Returns
void