PHP Class yii\authclient\clients\LinkedIn

In order to use linkedIn OAuth you must register your application at . Example application configuration: ~~~ 'components' => [ 'authClientCollection' => [ 'class' => 'yii\authclient\Collection', 'clients' => [ 'linkedin' => [ 'class' => 'yii\authclient\clients\LinkedIn', 'clientId' => 'linkedin_client_id', 'clientSecret' => 'linkedin_client_secret', ], ], ] ... ] ~~~
See also: http://developer.linkedin.com/documents/authentication
See also: https://www.linkedin.com/secure/developer
See also: http://developer.linkedin.com/apis
Since: 2.0
Author: Paul Klimov ([email protected])
Inheritance: extends yii\authclient\OAuth2
Show file Open project: yiisoft/yii2-authclient Class Usage Examples

Public Properties

Property Type Description
$apiBaseUrl
$attributeNames list of attribute names, which should be requested from API to initialize user attributes.
$authUrl
$tokenUrl

Public Methods

Method Description
applyAccessTokenToRequest ( $request, $accessToken )
init ( )

Protected Methods

Method Description
defaultName ( )
defaultNormalizeUserAttributeMap ( )
defaultTitle ( )
initUserAttributes ( )

Method Details

applyAccessTokenToRequest() public method

public applyAccessTokenToRequest ( $request, $accessToken )

defaultName() protected method

protected defaultName ( )

defaultNormalizeUserAttributeMap() protected method

defaultTitle() protected method

protected defaultTitle ( )

init() public method

public init ( )

initUserAttributes() protected method

protected initUserAttributes ( )

Property Details

$apiBaseUrl public property

public $apiBaseUrl

$attributeNames public property

list of attribute names, which should be requested from API to initialize user attributes.
Since: 2.0.4
public $attributeNames

$authUrl public property

public $authUrl

$tokenUrl public property

public $tokenUrl