Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Webiny
Component
Security
User
AbstractUser
authenticate
Webiny\Component\Security\User\AbstractUser::authenticate PHP Метод
Документация по классу AbstractUser
Показать файл
Открыть проект
authenticate()
абстрактный
публичный
Метод
This method verifies the credentials of current user with the credentials provided from the Login object.
abstract
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.
abstract function authenticate(Login $login, Firewall $firewall);
AbstractUser
authenticate
getAuthProviderName
getPassword
getRoles
getUserProviderName
getUsername
hasRole
isAuthenticated
isTokenValid
populate
setAuthProviderName
setIsAuthenticated
setRoles
setUserProviderName