PHP Class Overtrue\Socialite\Providers\LinkedinProvider

Inheritance: extends AbstractProvider, implements Overtrue\Socialite\ProviderInterface
ファイルを表示 Open project: overtrue/socialite

Protected Properties

Property Type Description
$fields array The fields that are included in the profile.
$scopes array The scopes being requested.

Public Methods

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

Protected Methods

Method 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 method

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

getAuthUrl() protected method

protected getAuthUrl ( $state )

getTokenFields() protected method

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

getTokenUrl() protected method

protected getTokenUrl ( )

getUserByToken() protected method

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

mapUserToObject() protected method

protected mapUserToObject ( array $user )
$user array

Property Details

$fields protected_oe property

The fields that are included in the profile.
protected array $fields
return array

$scopes protected_oe property

The scopes being requested.
protected array $scopes
return array