Skip to content
rw3iss Auth

~~Interface: TokenCachePort~~

Interface: TokenCachePort

Defined in: auth-server-ts/src/contracts/revocation-cache.ts:30

Deprecated

Use RevocationCache instead. Retained so the NestJS adapter’s RedisTokenCacheAdapter compiles unchanged. Will be removed once the adapter migrates to the modern port (planned for the v0.4 / v1.0 platform release).

Methods

get()

get(key): Promise<string | null>

Defined in: auth-server-ts/src/contracts/revocation-cache.ts:31

Parameters

key

string

Returns

Promise<string | null>


ping()?

optional ping(): Promise<string>

Defined in: auth-server-ts/src/contracts/revocation-cache.ts:32

Returns

Promise<string>