Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
processAuthenticationFailure ($customerId) | |
unlock ($customerId) | |
isLocked ($customerId) | |
authenticate ($customerId, $password) | |
Interface \Magento\Customer\Model\AuthenticationInterface @api
Definition at line 15 of file AuthenticationInterface.php.
authenticate | ( | $customerId, | |
$password | |||
) |
Authenticate customer
int | $customerId | |
string | $password |
InvalidEmailOrPasswordException | |
UserLockedException |
Implemented in Authentication.
isLocked | ( | $customerId | ) |
Check if a customer is locked
int | $customerId |
Implemented in Authentication.
processAuthenticationFailure | ( | $customerId | ) |
Process customer authentication failure
int | $customerId |
Implemented in Authentication.
unlock | ( | $customerId | ) |