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
Overtrue
Socialite
ProviderInterface
user
Overtrue\Socialite\ProviderInterface::user PHP Method
ProviderInterface Interface Documentation
Show file
Open project: overtrue/socialite
user()
public
method
Get the User instance for the authenticated user.
public
user
(
Overtrue\Socialite\AccessTokenInterface
$token
= null ) :
Overtrue\Socialite\User
$token
Overtrue\Socialite\AccessTokenInterface
return
Overtrue\Socialite\User
public function user(AccessTokenInterface $token = null);
ProviderInterface
redirect
user