method MemoryRefreshTokenStore.prototype.get
MemoryRefreshTokenStore.prototype.get(jti: string): Promise<RefreshTokenRecord | null>

Retrieve a record by jti; returns null if missing or expired. A revoked record is still returned so the caller can distinguish replay of a rotated token from an unknown token.

Parameters

jti: string

Return Type

Promise<RefreshTokenRecord | null>

Usage

import { MemoryRefreshTokenStore } from "auth-plugin/src/index.ts";