Skip to main content

ResendVerificationSMSDTO

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

Request DTO for resending verification SMS. Supports identification by user sub or phone number.

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

Properties

PropertyTypeRequiredDescription
substringNoUser identifier (UUID v4). Required if phone not provided. Trimmed and lowercased.
phonestringNoUser phone number (E.164 format). Required if sub not provided. Max 20 chars. Whitespace removed.
info

At least one of sub or phone must be provided.

Example

{
"sub": "a21b654c-2746-4168-acee-c175083a65cd"
}

Or by phone:

{
"phone": "+1234567890"
}

Used By