Skip to main content

AdminGetMFAStatusDTO

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

Request DTO for retrieving comprehensive MFA status for a target user (admin operation).

Admin Only

This DTO requires the sub field to specify the target user. For user self-service MFA status, use MFAService.getMfaStatus() which takes no DTO and derives the user from authenticated context.

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

Properties

PropertyTypeRequiredDescription
substringYesTarget user sub (UUID v4). Trimmed and lowercased.

Example

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

Used By