Model
ForceProviders
Magento\TwoFactorAuth\Model\Config\Backend\ForceProviders
What it does
This backend model validates and processes the 'Force Providers' configuration setting for Magento's Two-Factor Authentication.
It ensures that at least one valid 2FA provider is selected when saving the configuration, filtering out any invalid provider codes and throwing an exception if no valid providers are specified.
Public Methods
- beforeSave()