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...
Api\AdminTokenServiceInterface
This interface extends Magento's standard admin token service to support two-factor authentication functionality. Developers use this interface when t...
Api\AuthyAuthenticateInterface
This interface defines the contract for authenticating Magento 2 administrators using Authy two-factor authentication. Developers implement this inter...
Api\AuthyConfigureInterface
This interface defines the contract for configuring and activating the Authy two-factor authentication provider in Magento 2. Developers use this when...
Api\CountryRepositoryInterface
This interface defines the contract for managing country data within Magento's Two-Factor Authentication system. Developers use this repository to sav...
Api\Data\AdminTokenResponseInterface
This interface defines the structure for admin token responses in Magento's two-factor authentication system. Developers use this when handling admin...
Api\Data\AuthyDeviceInterface
This interface defines the data structure for Authy two-factor authentication devices in Magento 2. Developers use it to manage phone-based 2FA device...
Api\Data\AuthyRegistrationPromptResponseInterface
This interface defines the structure for responses when prompting users to register a device for Authy two-factor authentication. Developers use this...
Api\Data\CountryInterface
This interface defines the contract for Country data objects used in Magento's two-factor authentication module. Developers use this when working with...
Api\Data\CountrySearchResultsInterface
This interface defines the contract for search results when querying countries in the Two-Factor Authentication module. Developers use this interface...
Api\Data\DuoDataInterface
This interface defines the data structure for Duo Security two-factor authentication integration in Magento 2. Developers would have used it to manage...
Api\Data\GoogleAuthenticateInterface
This interface defines the contract for Google Authenticator data objects used in Magento's two-factor authentication system. Developers use this when...
Api\Data\GoogleConfigureInterface
This interface defines the contract for Google Authenticator configuration data in Magento's two-factor authentication system. Developers use this whe...
Api\Data\U2fWebAuthnRequestInterface
This interface defines the contract for WebAuthn (U2F) authentication request data in Magento's two-factor authentication system. Developers use this...
Api\Data\UserConfigInterface
This interface defines the data structure for storing two-factor authentication configuration for individual admin users in Magento 2. Developers use...
Api\Data\UserConfigSearchResultsInterface
This interface defines the contract for search results when querying two-factor authentication user configurations in Magento 2. Developers use this w...
Api\DuoAuthenticateInterface
This interface defines the contract for authenticating admin users via Duo Security two-factor authentication in Magento 2. Developers use this to imp...
Api\DuoConfigureInterface
This interface defines the contract for configuring and activating Duo Security two-factor authentication in Magento 2. Developers use this to retriev...
Api\EngineInterface
This interface defines the contract for two-factor authentication (2FA) engine providers in Magento 2. Developers implement this interface when creati...
Api\Exception\NotificationExceptionInterface
This interface defines an exception type that should be thrown when the Two-Factor Authentication system fails to send a notification to a user, such...
Api\GoogleAuthenticateInterface
This interface defines the contract for Google Authenticator-based two-factor authentication in Magento 2 admin panel. Developers use this to generate...
Api\GoogleConfigureInterface
This interface defines the contract for configuring Google Authenticator as a two-factor authentication provider in Magento 2. Developers implement th...
Api\ProviderInterface
This interface defines the contract for two-factor authentication (2FA) providers in Magento 2. Developers implement this interface when creating cust...
Api\ProviderPoolInterface
This interface defines a pool of two-factor authentication providers available in Magento 2. Developers use it to retrieve all available 2FA providers...
Api\TfaInterface
This interface defines the contract for managing two-factor authentication (2FA) in Magento 2. Developers use this interface to check if 2FA is enable...
Api\TfaSessionInterface
This interface defines the contract for managing two-factor authentication (2FA) sessions in Magento. Developers use this to grant access after succes...
Api\TfatActionsInterface
This interface defines actions that can be performed using a pre-authentication two-factor authentication token (tfat). Developers use this to retriev...
Api\U2fKeyAuthenticateInterface
This interface defines the contract for authenticating admin users via U2F (Universal 2nd Factor) security keys in Magento's two-factor authentication...
Api\U2fKeyConfigReaderInterface
This interface defines the contract for reading U2F (Universal 2nd Factor) security key configuration in Magento's two-factor authentication system. D...
Api\U2fKeyConfigureInterface
This interface defines the contract for configuring U2F (Universal 2nd Factor) hardware security keys as a two-factor authentication method in Magento...
Api\UserConfigManagerInterface
This interface manages two-factor authentication (2FA) configuration for individual admin users in Magento 2. Developers use it to get, set, and activ...
Api\UserConfigRepositoryInterface
This repository interface manages two-factor authentication user configuration data in Magento 2. Developers use it to save, retrieve, update, and del...
Api\UserConfigRequestManagerInterface
This interface defines methods for managing two-factor authentication (2FA) configuration requests for admin users. Developers use it to check if a us...
Api\UserConfigTokenManagerInterface
This interface manages temporary authorization tokens that allow users to configure their two-factor authentication (2FA) settings. Developers use thi...
Api\UserNotifierInterface
This interface defines methods for sending notification messages to admin users regarding two-factor authentication configuration. Developers would im...
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...
Model\AlertInterface
This interface defines the contract for triggering security alerts in Magento's two-factor authentication module. Developers implement this interface...
Model\ResourceModel\Country\Collection
This collection class provides a standardized way to retrieve and manipulate multiple country code records from the database within Magento's Two-Fact...
Model\ResourceModel\UserConfig\Collection
This collection class is used to retrieve and manipulate multiple two-factor authentication user configuration records from the database. Developers w...
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...