UNPKG

@enteocode/nestjs-mfa

Version:

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

13 lines (12 loc) 327 B
import type { Identifier, RecoveryCode } from '../types'; /** * Should be triggered when recovery was enabled for a user * * @public * @event */ export declare class RecoveryEnabledEvent { readonly user: Identifier; readonly codes: Set<RecoveryCode>; constructor(user: Identifier, codes: Set<RecoveryCode>); }