type alias IRefreshTokenRotation

Result of atomically rotating one refresh token into its successor.

Definition

{ readonly record: RefreshTokenRecord; readonly rotated: true; }
| { readonly record: RefreshTokenRecord | null; readonly rotated: false; }

Usage

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