Skip to main content

SetPhoneAndSendVerificationResponseDTO

Package: @nauth-toolkit/core Type: DTO (Response)

Response DTO for the set-phone-and-send-verification operation.

import { SetPhoneAndSendVerificationResponseDTO } from '@nauth-toolkit/nestjs';

Properties​

PropertyTypeRequiredDescription
phoneChangedbooleanYestrue when the phone on file was replaced and its verification was reset.
tokenIdnumberYesVerification token ID (internal use)

Example​

{
"tokenId": 12345,
"phoneChanged": true
}

Used By​