Skip to content

Class: NullRevocationCache

Class: NullRevocationCache

Defined in: auth-server-ts/src/cache/null-revocation-cache.ts:8

No-op revocation cache. Use when Redis is unavailable or for environments that prefer to skip the revocation check entirely. Matches the Go server’s NoOpTokenCache.

Implements

Constructors

Constructor

new NullRevocationCache(): NullRevocationCache

Returns

NullRevocationCache

Methods

exists()

exists(_key): Promise<boolean>

Defined in: auth-server-ts/src/cache/null-revocation-cache.ts:9

Parameters

_key

string

Returns

Promise<boolean>

Implementation of

RevocationCache.exists


get()

get(_key): Promise<string | null>

Defined in: auth-server-ts/src/cache/null-revocation-cache.ts:13

Parameters

_key

string

Returns

Promise<string | null>

Implementation of

RevocationCache.get