Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
AuthenticationInterface Interface Reference
Inheritance diagram for AuthenticationInterface:
Authentication

Public Member Functions

 processAuthenticationFailure ($customerId)
 
 unlock ($customerId)
 
 isLocked ($customerId)
 
 authenticate ($customerId, $password)
 

Detailed Description

Interface \Magento\Customer\Model\AuthenticationInterface @api

Definition at line 15 of file AuthenticationInterface.php.

Member Function Documentation

◆ authenticate()

authenticate (   $customerId,
  $password 
)

Authenticate customer

Parameters
int$customerId
string$password
Returns
boolean
Exceptions
InvalidEmailOrPasswordException
UserLockedException

Implemented in Authentication.

◆ isLocked()

isLocked (   $customerId)

Check if a customer is locked

Parameters
int$customerId
Returns
boolean

Implemented in Authentication.

◆ processAuthenticationFailure()

processAuthenticationFailure (   $customerId)

Process customer authentication failure

Parameters
int$customerId
Returns
void

Implemented in Authentication.

◆ unlock()

unlock (   $customerId)

Unlock customer

Parameters
int$customerId
Returns
void

Implemented in Authentication.


The documentation for this interface was generated from the following file: