Skip to main content

VerifyEmailWithTokenDTO

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

Request DTO for verifying email addresses using verification tokens from email links.

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

Properties

PropertyTypeRequiredDescription
tokenstringYesVerification token from email link. Exactly 64 hexadecimal characters (SHA-256 hash). Trimmed and lowercased.

Example

{
"token": "abc123def456789012345678901234567890123456789012345678901234567890"
}

Used By