ResendVerificationEmailDTO
Package: @nauth-toolkit/core
Type: DTO (Request)
Request DTO for resending verification emails. Supports identification by user sub or email address.
- NestJS
- Express
- Fastify
import { ResendVerificationEmailDTO } from '@nauth-toolkit/nestjs';
import { ResendVerificationEmailDTO } from '@nauth-toolkit/core';
import { ResendVerificationEmailDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
sub | string | No | User identifier (UUID v4). Required if email not provided. Trimmed and lowercased. |
email | string | No | User email address. Required if sub not provided. Valid email format. Max 255 chars. Trimmed and lowercased. |
baseUrl | string | No | Base URL for verification link. Must be valid URL with http:// or https://. Max 2048 chars. |
challengeSessionId | number | No | Challenge session ID to link this verification to. Prevents old tokens from being used with new sessions. |
info
At least one of sub or email must be provided.
Example
{
"sub": "a21b654c-2746-4168-acee-c175083a65cd",
"baseUrl": "https://example.com"
}
Or by email:
{
"email": "user@example.com",
"baseUrl": "https://example.com"
}