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
Authentication
Providers
Form
Form
userAuthorizedByTokenCallback
Webiny\Component\Security\Authentication\Providers\Form\Form::userAuthorizedByTokenCallback PHP Method
Form Class Documentation
Show file
Open project: Webiny/Framework
userAuthorizedByTokenCallback()
public
method
This callback is triggered when the system has managed to retrieve the user from the stored token (either session) or cookie.
public
userAuthorizedByTokenCallback
(
AbstractUser
$user
,
Token
$token
) :
mixed
$user
Webiny\Component\Security\User\AbstractUser
$token
Webiny\Component\Security\Token\Token
return
mixed
public function userAuthorizedByTokenCallback(AbstractUser $user, Token $token) { // nothing to do }
Form
getLoginObject
invalidLoginProvidedCallback
loginSuccessfulCallback
logoutCallback
userAuthorizedByTokenCallback