Model
Authentication
Magento\Customer\Model\Authentication
What it does
This class handles customer authentication security in Magento 2, managing password verification and account lockout mechanisms.
Developers use it to authenticate customer credentials, track failed login attempts, and automatically lock accounts after too many failures to prevent brute force attacks.
It enforces configurable security policies like maximum login failures and lockout duration.
Public Methods
- processAuthenticationFailure()
- unlock()
- isLocked()
- authenticate()