Interface
ProviderPoolInterface
Magento\TwoFactorAuth\Api\ProviderPoolInterface
What it does
This interface defines a pool of two-factor authentication providers available in Magento 2.
Developers use it to retrieve all available 2FA providers or get a specific provider by its code (like 'google', 'duo', etc.) when implementing or managing two-factor authentication functionality in the admin panel.
Public Methods
- getProviders()
- getProviderByCode()