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) 288 B
import type { Identifier, Token } from '../types'; /** * Should be triggered when a token failed verification * * @event */ export declare class AuthenticationFailedEvent { readonly user: Identifier; readonly token?: Token; constructor(user: Identifier, token?: Token); }