Kysoql
API referenceInterfaces

RedisLike

Generated API reference for RedisLike in @kysoql/auth.

@kysoql/auth / RedisLike

Minimal Redis interface required by the Redis refresh-token store.

Methods

get()

get(key): string | Promise<string | null> | null;

Reads a string value from Redis.

Parameters

ParameterType
keystring

Returns

string | Promise<string | null> | null


set()

set(key, value): unknown;

Stores a string value in Redis.

Parameters

ParameterType
keystring
valuestring

Returns

unknown


del()

del(key): unknown;

Deletes a key from Redis.

Parameters

ParameterType
keystring

Returns

unknown

On this page