@enteocode/nestjs-mfa
Version:
Implementation agnostic RFC-compliant Multi-Factor Authentication (2FA/MFA) module for NestJS with recovery code support
27 lines (26 loc) • 1.92 kB
TypeScript
export { MfaModule } from './mfa.module';
export { MfaService } from './mfa.service';
export { MfaRecoveryService } from './mfa.recovery.service';
export { TokenType } from './token.type';
export { Format } from './qr/qr-code.format';
export { EventType } from './event.type';
export { AuthenticationFailedException } from './exceptions/authentication.failed.exception';
export { AuthenticationNotEnabledException } from './exceptions/authentication-not-enabled.exception';
export { InvalidFormatException } from './exceptions/invalid-format.exception';
export { AuthenticationEnabledEvent } from './events/authentication.enabled.event';
export { AuthenticationDisabledEvent } from './events/authentication.disabled.event';
export { AuthenticationFailedEvent } from './events/authentication.failed.event';
export { RecoveryEnabledEvent } from './events/recovery.enabled.event';
export { RecoveryDisabledEvent } from './events/recovery.disabled.event';
export { RecoveryFailedEvent } from './events/recovery.failed.event';
export { MfaCredentialsExtractor } from './credentials/mfa.credentials.extractor.decorator';
export { MfaCredentials } from './credentials/mfa.credentials.decorator';
export { IsToken } from './token.validator';
export type { MfaModuleOptionsInterface } from './mfa.module.options.interface';
export type { SerializerInterface } from './serializer/serializer.interface';
export type { Identifier, Token, RecoveryCode } from './types';
export type { SecretKey } from '@otplib/core';
export type { MfaCredentialsDecoratorOptionsInterface } from './credentials/mfa.credentials.decorator.options.interface';
export type { MfaCredentialsExtractorType } from './credentials/mfa.credentials.extractor.type';
export type { MfaCredentialsInterface } from './credentials/mfa.credentials.interface';
export type { MfaCredentialsExtractorInterface } from './credentials/mfa.credentials.extractor.interface';