Overtrue\Socialite\ProviderInterface::user PHP Method

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