Skip to main content

AdminGetUserDevicesDTO

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

Request DTO for retrieving all active MFA devices for a target user (admin operation).

Admin Only

This DTO requires the sub field to specify the target user. For user self-service device listing, use MFAService.getUserDevices() which derives the user from authenticated context.

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

Properties

PropertyTypeRequiredDescription
substringYesTarget user's unique identifier. Must be a non-empty string.

Example

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

Used By