EngineInterface
Magento\TwoFactorAuth\Api\EngineInterface
What it does
This interface defines the contract for two-factor authentication (2FA) engine providers in Magento 2.
Developers implement this interface when creating custom 2FA methods (like Google Authenticator, SMS, email codes) to integrate with Magento's admin security system.
Each implementation must provide methods to check if the provider is enabled and verify authentication tokens against user credentials.
Public Methods
- isEnabled()
- verify()