PHP Класс Webiny\Component\Security\Tests\Mocks\UserMock

Наследование: extends Webiny\Component\Security\User\AbstractUser
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
authenticate ( Login $login, Firewall $firewall ) : boolean This method verifies the credentials of current user with the credentials provided from the Login object.

Описание методов

authenticate() публичный Метод

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
Результат boolean Return true if credentials are valid, otherwise return false.