Log in

TwoFactorAuth Module

AdminAccessTokenService

Model

This class extends Magento's admin access token service to enforce two-factor authentication (2FA) before tokens are issued. It prevents direct token...

Alert

Model

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

Interface

This interface extends Magento's standard admin token service to support two-factor authentication functionality. Developers use this interface when t...

Api\AuthyAuthenticateInterface

Interface

This interface defines the contract for authenticating Magento 2 administrators using Authy two-factor authentication. Developers implement this inter...

Api\AuthyConfigureInterface

Interface

This interface defines the contract for configuring and activating the Authy two-factor authentication provider in Magento 2. Developers use this when...

Api\CountryRepositoryInterface

Repository

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

Interface

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

Interface

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

Interface

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

Interface

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

Interface

This interface defines the contract for search results when querying countries in the Two-Factor Authentication module. Developers use this interface...

Api\Data\DuoDataInterface

Interface

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

Interface

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

Interface

This interface defines the contract for Google Authenticator configuration data in Magento's two-factor authentication system. Developers use this whe...

Api\Data\U2fWebAuthnRequestInterface

Interface

This interface defines the contract for WebAuthn (U2F) authentication request data in Magento's two-factor authentication system. Developers use this...

Api\Data\UserConfigInterface

Interface

This interface defines the data structure for storing two-factor authentication configuration for individual admin users in Magento 2. Developers use...

Api\Data\UserConfigSearchResultsInterface

Interface

This interface defines the contract for search results when querying two-factor authentication user configurations in Magento 2. Developers use this w...

Api\DuoAuthenticateInterface

Interface

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

Interface

This interface defines the contract for configuring and activating Duo Security two-factor authentication in Magento 2. Developers use this to retriev...

Api\EngineInterface

Interface

This interface defines the contract for two-factor authentication (2FA) engine providers in Magento 2. Developers implement this interface when creati...

Api\Exception\NotificationExceptionInterface

Interface

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

Interface

This interface defines the contract for Google Authenticator-based two-factor authentication in Magento 2 admin panel. Developers use this to generate...

Api\GoogleConfigureInterface

Interface

This interface defines the contract for configuring Google Authenticator as a two-factor authentication provider in Magento 2. Developers implement th...

Api\ProviderInterface

Interface

This interface defines the contract for two-factor authentication (2FA) providers in Magento 2. Developers implement this interface when creating cust...

Api\ProviderPoolInterface

Interface

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

Interface

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

Interface

This interface defines the contract for managing two-factor authentication (2FA) sessions in Magento. Developers use this to grant access after succes...

Api\TfatActionsInterface

Interface

This interface defines actions that can be performed using a pre-authentication two-factor authentication token (tfat). Developers use this to retriev...

Api\U2fKeyAuthenticateInterface

Interface

This interface defines the contract for authenticating admin users via U2F (Universal 2nd Factor) security keys in Magento's two-factor authentication...

Api\U2fKeyConfigReaderInterface

Interface

This interface defines the contract for reading U2F (Universal 2nd Factor) security key configuration in Magento's two-factor authentication system. D...

Api\U2fKeyConfigureInterface

Interface

This interface defines the contract for configuring U2F (Universal 2nd Factor) hardware security keys as a two-factor authentication method in Magento...

Api\UserConfigManagerInterface

Interface

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

Repository

This repository interface manages two-factor authentication user configuration data in Magento 2. Developers use it to save, retrieve, update, and del...

Api\UserConfigRequestManagerInterface

Interface

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

Interface

This interface manages temporary authorization tokens that allow users to configure their two-factor authentication (2FA) settings. Developers use thi...

Api\UserNotifierInterface

Interface

This interface defines methods for sending notification messages to admin users regarding two-factor authentication configuration. Developers would im...

Config\Backend\ForceProviders

Model

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

Model

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

Model

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

Model

This class provides a list of available two-factor authentication providers for use in admin configuration dropdowns and select fields. Developers use...

Config\UserNotifier

Model

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

Model

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

Model

This model manages country data for the Two-Factor Authentication module, typically storing which countries are allowed or restricted for 2FA configur...

CountryRegistry

Model

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

Model

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

Model

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

Model

This class represents a data model for storing two-factor authentication configuration for individual users. Developers use it to manage user-specific...

EmailUserNotifier

Model

This class sends email notifications to admin users when two-factor authentication (2FA) configuration is required. Developers would use this when imp...

Exception\NotificationException

Model

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

Interface

This interface defines the contract for triggering security alerts in Magento's two-factor authentication module. Developers implement this interface...

Model\ResourceModel\Country\Collection

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

Collection

This collection class is used to retrieve and manipulate multiple two-factor authentication user configuration records from the database. Developers w...

Provider

Model

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

Model

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

Model

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

Model

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

Model

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

Model

This class implements the U2F (Universal 2nd Factor) security key authentication engine for Magento 2's two-factor authentication system. Developers u...

ResourceModel\Country

Model

This resource model manages database operations for country codes in Magento's Two-Factor Authentication system. Developers use this class to perform...

ResourceModel\CountryRepository

Model

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

Model

This resource model manages database operations for two-factor authentication user configurations. It automatically encrypts sensitive config data bef...

ResourceModel\UserConfigRepository

Model

This repository class manages CRUD operations for two-factor authentication user configurations in Magento 2. Developers use this to save, retrieve, d...

Tfa

Model

This class manages two-factor authentication (2FA) for Magento admin users. Developers use it to retrieve available 2FA providers (like Google Authent...

TfaSession

Model

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

Model

This class provides token-based access to retrieve two-factor authentication provider information for users. Developers use this when implementing hea...

UserAuthenticator

Model

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

Model

This model represents user-specific two-factor authentication configuration settings in Magento 2. Developers use this class to load, save, and manage...

UserConfigManager

Model

This class manages two-factor authentication (2FA) configuration settings for individual admin users in Magento 2. Developers use it to get/set provid...

UserConfigRegistry

Model

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

Model

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

Model

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

Model

This class manages the process of requesting two-factor authentication (2FA) configuration from admin users. Developers use this to check if a user ne...