AdaptiveMFAUser
Package: @nauth-toolkit/core
Type: Interface
User information interface used in adaptive MFA risk event payloads. Contains minimal user data needed for risk assessment and decision making.
- NestJS
- Express
- Fastify
import { AdaptiveMFAUser } from '@nauth-toolkit/nestjs';
import { AdaptiveMFAUser } from '@nauth-toolkit/core';
import { AdaptiveMFAUser } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
sub | string | Yes | User identifier (UUID v4). |
email | string | Yes | User's email address. |
username | string | No | User's username. |
phoneNumber | string | No | User's phone number in E.164 format. |
Used By
- AdaptiveMFARiskEventPayload - User property type
Related APIs
- IUser - Full user entity interface
- NAuthConfig - Configuration interface