interface TokenPair

A pair of access + refresh tokens issued together.

Properties

readonly
accessToken: string

Short-lived access token.

readonly
refreshToken: string

Refresh token (signed JWT with type:'refresh' and jti).

Usage

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