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) 291 B
import type { Identifier, RecoveryCode } from '../types'; /** * Should be triggered when recovery was failed * * @event */ export declare class RecoveryFailedEvent { readonly user: Identifier; readonly code: RecoveryCode; constructor(user: Identifier, code: RecoveryCode); }