TwoFactorAuth Module
AdminAccessTokenService
This class extends Magento's admin access token service to enforce two-factor authentication (2FA) before tokens are issued. It prevents direct token...
Alert
This class provides a centralized alert/event system for Magento 2's two-factor authentication module. Developers use it to trigger security-related e...
Config\Backend\ForceProviders
This backend model validates and processes the 'Force Providers' configuration setting for Magento's Two-Factor Authentication. It ensures that at lea...
Config\Backend\Leeway
This class validates and processes the leeway configuration value for Two-Factor Authentication TOTP codes. Developers use this as a backend model for...
Config\Source\EnabledProvider
This class provides a list of enabled two-factor authentication (2FA) providers for use in Magento admin configuration dropdowns and forms. Developers...
Config\Source\Provider
This class provides a list of available two-factor authentication providers for use in admin configuration dropdowns and select fields. Developers use...
Config\UserNotifier
This class generates URLs for notifying users to configure their two-factor authentication settings in Magento admin. Developers use it when sending e...
Config\WebApiUserNotifier
This class generates notification URLs for users who need to configure two-factor authentication when accessing Magento via Web API. It extends the ba...
Country
This model manages country data for the Two-Factor Authentication module, typically storing which countries are allowed or restricted for 2FA configur...
CountryRegistry
This class serves as an in-memory registry/cache for Country entities in the Two-Factor Authentication module. Developers use it to store and retrieve...
Data\AdminTokenResponse
This class represents the response data when an admin user attempts to authenticate with two-factor authentication in Magento 2. Developers use this m...
Data\Country
This class represents a country data model used in Magento 2's Two-Factor Authentication system. It stores country information including ID, ISO count...
Data\UserConfig
This class represents a data model for storing two-factor authentication configuration for individual users. Developers use it to manage user-specific...
EmailUserNotifier
This class sends email notifications to admin users when two-factor authentication (2FA) configuration is required. Developers would use this when imp...
Exception\NotificationException
This exception class is thrown when there are issues with two-factor authentication notifications in Magento 2. Developers would catch and handle this...
Provider
This class represents a two-factor authentication provider in Magento 2, managing the configuration and state of a specific 2FA method (like Google Au...
ProviderPool
This class manages a pool of two-factor authentication providers in Magento 2. Developers use it to retrieve all available 2FA providers or fetch a sp...
Provider\Engine\Authy
This class implements the Authy two-factor authentication provider for Magento 2's admin panel. Developers use this engine to integrate Authy's phone-...
Provider\Engine\DuoSecurity
This class provides Duo Security two-factor authentication integration for Magento 2 admin users. Developers use it to enable Duo's Universal Prompt o...
Provider\Engine\Google
This class implements Google Authenticator-based two-factor authentication for Magento 2 admin users. Developers use this engine to generate secret co...
Provider\Engine\U2fKey
This class implements the U2F (Universal 2nd Factor) security key authentication engine for Magento 2's two-factor authentication system. Developers u...
ResourceModel\Country
This resource model manages database operations for country codes in Magento's Two-Factor Authentication system. Developers use this class to perform...
ResourceModel\CountryRepository
This repository class manages CRUD operations for country data in Magento's Two-Factor Authentication module. Developers use it to save, retrieve, del...
ResourceModel\UserConfig
This resource model manages database operations for two-factor authentication user configurations. It automatically encrypts sensitive config data bef...
ResourceModel\UserConfigRepository
This repository class manages CRUD operations for two-factor authentication user configurations in Magento 2. Developers use this to save, retrieve, d...
Tfa
This class manages two-factor authentication (2FA) for Magento admin users. Developers use it to retrieve available 2FA providers (like Google Authent...
TfaSession
This class manages the two-factor authentication session state for admin users in Magento 2. Developers use it to grant access after successful TFA ve...
TfatActions
This class provides token-based access to retrieve two-factor authentication provider information for users. Developers use this when implementing hea...
UserAuthenticator
This class handles user authentication for two-factor authentication (2FA) in Magento 2. Developers use it to verify TFA tokens and validate that user...
UserConfig
This model represents user-specific two-factor authentication configuration settings in Magento 2. Developers use this class to load, save, and manage...
UserConfigManager
This class manages two-factor authentication (2FA) configuration settings for individual admin users in Magento 2. Developers use it to get/set provid...
UserConfigRegistry
This registry class provides an in-memory cache for two-factor authentication user configurations in Magento 2. Developers use it to store and quickly...
UserConfig\HtmlAreaTokenVerifier
This class verifies and manages configuration tokens that allow admin users to set up two-factor authentication (2FA) in Magento's admin area. It chec...
UserConfig\SignedTokenManager
This class manages secure tokens for two-factor authentication configuration changes. Developers use it to generate signed tokens when users need to m...
UserConfig\UserConfigRequestManager
This class manages the process of requesting two-factor authentication (2FA) configuration from admin users. Developers use this to check if a user ne...