Skip to content

RedisLike

Defined in: packages/adapter-redis/src/index.ts:16

Minimal Redis surface the nonce store needs.

getdel(key): Promise<string | null>

Defined in: packages/adapter-redis/src/index.ts:20

Atomic GET+DEL — returns the value and removes the key, or null if absent.

string

Promise<string | null>


set(key, value, ttlSec): Promise<unknown>

Defined in: packages/adapter-redis/src/index.ts:18

SET key = value with a TTL in seconds.

string

string

number

Promise<unknown>