PHP Interface Overtrue\Socialite\ProviderInterface

Afficher le fichier Open project: overtrue/socialite

Méthodes publiques

Méthode Description
redirect ( ) : RedirectResponse Redirect the user to the authentication page for the provider.
user ( Overtrue\Socialite\AccessTokenInterface $token = null ) : Overtrue\Socialite\User Get the User instance for the authenticated user.

Method Details

redirect() public méthode

Redirect the user to the authentication page for the provider.
public redirect ( ) : RedirectResponse
Résultat Symfony\Component\HttpFoundation\RedirectResponse

user() public méthode

Get the User instance for the authenticated user.
public user ( Overtrue\Socialite\AccessTokenInterface $token = null ) : Overtrue\Socialite\User
$token Overtrue\Socialite\AccessTokenInterface
Résultat Overtrue\Socialite\User