Log in
Model

ProviderPool

Magento\TwoFactorAuth\Model\ProviderPool

What it does

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 specific provider by its code (like 'google', 'duo', etc.).

It acts as a central registry for accessing different authentication methods configured in the system.

Public Methods

  • getProviders()
  • getProviderByCode()