Log in
Interface

ConfigInterface

Magento\Security\Model\ConfigInterface

What it does

This interface defines methods for accessing security-related configuration settings in Magento 2, particularly around password reset protection and admin session management.

Developers use this to retrieve security configuration values like password reset limits, admin session lifetime, and customer service email.

It's typically injected into classes that need to enforce security policies or validate security-related operations.

Public Methods

  • getCustomerServiceEmail()
  • getLimitationTimePeriod()
  • isAdminAccountSharingEnabled()
  • getAdminSessionLifetime()
  • getPasswordResetProtectionType()
  • getMaxNumberPasswordResetRequests()
  • getMinTimeBetweenPasswordResetRequests()