method IAccessTokenRevocationStore.revoke
IAccessTokenRevocationStore.revoke(
jti: string,
expiresAt: number
): Promise<void>

Record an access-token identifier as revoked until its expiry timestamp.

Parameters

jti: string
expiresAt: number

Return Type

Promise<void>

Usage

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