UNPKG

@enteocode/nestjs-mfa

Version:

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

10 lines (9 loc) 289 B
import { UnauthorizedException } from '@nestjs/common'; /** * Should be thrown if token was provided, user has the Multi-Factor Authentication enabled, * but the validation was failed * * @public */ export declare class AuthenticationFailedException extends UnauthorizedException { }