method RefreshTokenService.prototype.issue
RefreshTokenService.prototype.issue(principal: IPrincipal): Promise<TokenPair>

Issue a new access + refresh token pair for the given principal.

Parameters

principal: IPrincipal

Return Type

Promise<TokenPair>

Usage

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