Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Webiny
Component
Security
User
AbstractUser
authenticate
Webiny\Component\Security\User\AbstractUser::authenticate PHP Method
AbstractUser Class Documentation
显示文件
Open project: Webiny/Framework
authenticate()
abstract
public
method
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
return
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