RefreshTokenDTO
Package: @nauth-toolkit/core
Type: DTO (Request)
Data transfer object for refreshing access tokens using a valid refresh token.
- NestJS
- Express
- Fastify
import { RefreshTokenDTO } from '@nauth-toolkit/nestjs';
import { RefreshTokenDTO } from '@nauth-toolkit/core';
import { RefreshTokenDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
refreshToken | string | No | JWT refresh token. 10-2048 characters. Required in JSON mode; omit in cookie mode (extracted automatically). |
Example
{
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}