UNPKG

@enteocode/nestjs-mfa

Version:

Implementation agnostic RFC-compliant Multi-Factor Authentication (2FA/MFA) module for NestJS with recovery code support

12 lines (11 loc) 241 B
import type { Identifier, Token } from '../types'; export interface MfaCredentialsInterface { /** * Identifier of the user */ user: Identifier; /** * Generated token (one-time password) */ token: Token; }