GetAvailableMethodsResponseDTO
Package: @nauth-toolkit/core
Type: DTO (Response)
The MFA methods this deployment permits, whether or not the caller has enrolled them.
- NestJS
- Express
- Fastify
import { GetAvailableMethodsResponseDTO } from '@nauth-toolkit/nestjs';
import { GetAvailableMethodsResponseDTO } from '@nauth-toolkit/core';
import { GetAvailableMethodsResponseDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
availableMethods | string[] | Yes | Method names registered as providers and allowed by configuration. Derived from configuration, so identical for every user. |
Example
{
"availableMethods": ["totp", "sms", "passkey", "email"]
}