GetChallengeDataDTO
Package: @nauth-toolkit/core
Type: DTO (Request)
Data transfer object for requesting MFA challenge data. Supports passkey, sms, and email methods.
- NestJS
- Express
- Fastify
import { GetChallengeDataDTO } from '@nauth-toolkit/nestjs';
import { GetChallengeDataDTO } from '@nauth-toolkit/core';
import { GetChallengeDataDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
session | string | Yes | Challenge session token. UUID v4 format. Trimmed and lowercased. |
method | MFAChallengeMethod | Yes | MFA method. One of: passkey, sms, email. |
Example
{
"session": "a21b654c-2746-4168-acee-c175083a65cd",
"method": "passkey"
}