Class humhub\modules\user\authclient\LinkedIn

Inheritancehumhub\modules\user\authclient\LinkedIn » yii\authclient\clients\LinkedIn

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$apiBaseUrl humhub\modules\user\authclient\LinkedIn
$attributeNames array List of attribute names, which should be requested from API to initialize user attributes. humhub\modules\user\authclient\LinkedIn
$authUrl humhub\modules\user\authclient\LinkedIn
$tokenUrl humhub\modules\user\authclient\LinkedIn

Property Details

$apiBaseUrl public property
public $apiBaseUrl 'https://api.linkedin.com/v2'
$attributeNames public property

List of attribute names, which should be requested from API to initialize user attributes.

public array $attributeNames = ['id''firstName''lastName']
$authUrl public property
public $authUrl 'https://www.linkedin.com/oauth/v2/authorization'
$tokenUrl public property
public $tokenUrl 'https://www.linkedin.com/oauth/v2/accessToken'

Method Details

applyAccessTokenToRequest() public method

public void applyAccessTokenToRequest ( $request, $accessToken )
$request
$accessToken
defaultName() protected method

protected void defaultName ( )
defaultNormalizeUserAttributeMap() protected method

protected void defaultNormalizeUserAttributeMap ( )
defaultTitle() protected method

protected void defaultTitle ( )
defaultViewOptions() protected method

protected void defaultViewOptions ( )
init() public method

public void init ( )
initUserAttributes() protected method

protected void initUserAttributes ( )