GetDeviceTokenResponseDTO
Package: @nauth-toolkit/core
Type: DTO (Response)
Response data transfer object for device token from the current request context.
- NestJS
- Express
- Fastify
import { GetDeviceTokenResponseDTO } from '@nauth-toolkit/nestjs';
import { GetDeviceTokenResponseDTO } from '@nauth-toolkit/core';
import { GetDeviceTokenResponseDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
deviceToken | string? | No | Device token for trusted device feature. Extracted from cookie (nauth_device_token) or header (X-Device-Token). Undefined if not present. |
Example
{
"deviceToken": "device-token-123"
}