Model
Provider
Magento\TwoFactorAuth\Model\Config\Source\Provider
What it does
This class provides a list of available two-factor authentication providers for use in admin configuration dropdowns and select fields.
Developers use this when building admin forms or system configuration that need to display all available 2FA methods (like Google Authenticator, Duo Security, etc.) as selectable options.
Public Methods
- toOptionArray()