Model
Config
Magento\Security\Model\Config
What it does
This class provides centralized access to security-related configuration settings in Magento 2, including password reset protection, admin session settings, and account sharing policies.
Developers use it to retrieve security configurations for both admin and frontend areas, such as rate limiting for password reset requests, admin session lifetime, and customer service email settings.
Public Methods
- getCustomerServiceEmail()
- getLimitationTimePeriod()
- isAdminAccountSharingEnabled()
- getAdminSessionLifetime()
- getPasswordResetProtectionType()
- getMaxNumberPasswordResetRequests()
- getMinTimeBetweenPasswordResetRequests()