PHP Class Overtrue\Socialite\Providers\LinkedinProvider

Inheritance: extends AbstractProvider, implements Overtrue\Socialite\ProviderInterface
Afficher le fichier Open project: overtrue/socialite

Protected Properties

Свойство Type Description
$fields array The fields that are included in the profile.
$scopes array The scopes being requested.

Méthodes publiques

Méthode Description
fields ( array $fields ) Set the user fields to request from LinkedIn.

Méthodes protégées

Méthode Description
getAuthUrl ( $state )
getTokenFields ( string $code ) : array Get the POST fields for the token request.
getTokenUrl ( )
getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token )
mapUserToObject ( array $user )

Method Details

fields() public méthode

Set the user fields to request from LinkedIn.
public fields ( array $fields )
$fields array

getAuthUrl() protected méthode

protected getAuthUrl ( $state )

getTokenFields() protected méthode

Get the POST fields for the token request.
protected getTokenFields ( string $code ) : array
$code string
Résultat array

getTokenUrl() protected méthode

protected getTokenUrl ( )

getUserByToken() protected méthode

protected getUserByToken ( Overtrue\Socialite\AccessTokenInterface $token )
$token Overtrue\Socialite\AccessTokenInterface

mapUserToObject() protected méthode

protected mapUserToObject ( array $user )
$user array

Property Details

$fields protected_oe property

The fields that are included in the profile.
protected array $fields
Résultat array

$scopes protected_oe property

The scopes being requested.
protected array $scopes
Résultat array