SetPhoneAndSendVerificationResponseDTO
Package: @nauth-toolkit/core
Type: DTO (Response)
Response DTO for the set-phone-and-send-verification operation.
- NestJS
- Express
- Fastify
import { SetPhoneAndSendVerificationResponseDTO } from '@nauth-toolkit/nestjs';
import { SetPhoneAndSendVerificationResponseDTO } from '@nauth-toolkit/core';
import { SetPhoneAndSendVerificationResponseDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
phoneChanged | boolean | Yes | true when the phone on file was replaced and its verification was reset. |
tokenId | number | Yes | Verification token ID (internal use) |
Example
{
"tokenId": 12345,
"phoneChanged": true
}