Module mfa

Module mfa 

Source
Expand description

Multi-Factor Authentication (MFA) implementation.

This module provides comprehensive MFA support including TOTP, SMS, email, backup codes, and WebAuthn for enhanced security.

Structs§

BackupCodesProvider
Backup codes provider
MfaChallenge
MFA challenge that must be completed
MfaManager
MFA manager for handling multi-factor authentication
MfaVerificationResult
MFA verification result
TotpProvider
TOTP (Time-based One-Time Password) implementation
UserMfaMethod
MFA method configuration for a user

Enums§

MfaChallengeData
Challenge data specific to each MFA method
MfaMethodData
Method-specific configuration data
MfaMethodType
MFA method types

Traits§

EmailProvider
Email provider for sending verification codes
MfaStorage
MFA storage trait
SmsProvider
SMS provider for sending verification codes