PHP Class Webiny\Component\Security\User\Providers\Memory\User

Inheritance: extends Webiny\Component\Security\User\AbstractUser
Mostra file Open project: Webiny/Framework Class Usage Examples

Public Methods

Method Description
authenticate ( Login $login, Firewall $firewall ) : boolean This method verifies the credentials of current user with the credentials provided from the Login object.

Method Details

authenticate() public method

This method verifies the credentials of current user with the credentials provided from the Login object.
public authenticate ( Login $login, Firewall $firewall ) : boolean
$login Webiny\Component\Security\Authentication\Providers\Login
$firewall Webiny\Component\Security\Authentication\Firewall
return boolean Return true if credentials are valid, otherwise return false.