Class: InMemoryRevocationCache
Class: InMemoryRevocationCache
Defined in: auth-server-ts/src/cache/in-memory-revocation-cache.ts:6
In-process revocation cache for tests / single-replica dev. Not for prod.
Implements
Constructors
Constructor
new InMemoryRevocationCache():
InMemoryRevocationCache
Returns
InMemoryRevocationCache
Methods
clear()
clear():
void
Defined in: auth-server-ts/src/cache/in-memory-revocation-cache.ts:25
Returns
void
delete()
delete(
key):void
Defined in: auth-server-ts/src/cache/in-memory-revocation-cache.ts:21
Parameters
key
string
Returns
void
exists()
exists(
key):Promise<boolean>
Defined in: auth-server-ts/src/cache/in-memory-revocation-cache.ts:9
Parameters
key
string
Returns
Promise<boolean>
Implementation of
get()
get(
key):Promise<string|null>
Defined in: auth-server-ts/src/cache/in-memory-revocation-cache.ts:13
Parameters
key
string
Returns
Promise<string | null>
Implementation of
set()
set(
key,value):void
Defined in: auth-server-ts/src/cache/in-memory-revocation-cache.ts:17
Parameters
key
string
value
string
Returns
void