Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Webiny
Component
Security
User
AnonymousUser
authenticate
Webiny\Component\Security\User\AnonymousUser::authenticate PHP Method
AnonymousUser Class Documentation
Show file
Open project: Webiny/Framework
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.
public function authenticate(Login $login, Firewall $firewall) { return true; }
AnonymousUser
__construct
authenticate