Model
Authentication
Magento\Customer\Model\Authentication
What it does
This class handles customer authentication security in Magento 2, including password validation, failed login attempt tracking, and account lockout functionality.
Developers use this when implementing custom authentication logic or extending customer login features to manage login failures, unlock accounts, or verify customer credentials against stored password hashes.
Public Methods
- processAuthenticationFailure()
- unlock()
- isLocked()
- authenticate()