Structs§
- Account
Lockout Config - Consecutive failed sign-in verifications across factors and challenges.
- Backup
Code Verified - Public recovery result, with a token only when session publication was requested.
- Backup
Codes Output - Disable
TwoFactor Input - Password authority for disabling the current user’s factor.
- Enable
TwoFactor Input - Password authority and enrollment method for enabling the current user’s factor.
- Generate
Backup Codes Request - Password admission for regenerating the current owner’s recovery codes.
- GetTotp
UriInput - Password authority for retrieving the current user’s stored authenticator URI.
- Totp
Output - Totp
UriOutput - An authenticator URI recovered from the caller’s stored factor.
- Totp
Verified - Session token and public identity returned after authenticator verification.
- TwoFactor
Config - Public configuration for the two-factor plugin.
- TwoFactor
Disabled - The caller’s factor was disabled and its current session replaced.
- TwoFactor
OtpSent - A code was persisted and handed to the configured delivery policy.
- TwoFactor
Plugin - Two-factor authentication plugin providing TOTP, OTP, and backup code flows.
- Verify
Backup Code Request - Recovery code and optional session/device publication preferences.
- Verify
OtpRequest - Delivered code and optional trusted-device preference.
- Verify
Totp Request - Authenticator code and optional trusted-device preference.
Enums§
- TwoFactor
Backup Storage - Backup persistence policy. Encrypted storage is the pinned default.
- TwoFactor
Enabled - A generated authenticator enrollment or an immediately enabled OTP factor.
- TwoFactor
Method - The supported factor enrollment methods.
- TwoFactor
OtpStorage - Persistence format for delivered two-factor OTPs.
Traits§
- Send
TwoFactor Otp - Callback used by the two-factor plugin to deliver a one-time password.
- TwoFactor
Backup Cipher - Async persistence callbacks for the complete backup-code JSON string.
- TwoFactor
OtpCipher - Application-owned reversible OTP representation.
- TwoFactor
OtpHasher - Application-owned irreversible OTP representation.
Type Aliases§
- Generate
Backup Codes Input - Public input for direct backup-code regeneration.
- Verify
Backup Code Input - Public input for direct recovery-code verification.
- Verify
OtpInput - Public input for direct delivered-code verification.
- Verify
Totp Input - Public input for direct authenticator verification.