authclient\clients\LinkedIn initUserAttributes()

initUserAttributes() protected method Initializes authenticated user attributes. protected array initUserAttributes ( )return array Auth user attributes.

authclient\clients\LinkedIn init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

authclient\clients\LinkedIn generateAuthState()

generateAuthState() protected method Generates the auth state value. protected string generateAuthState ( )return string Auth state value.

authclient\clients\LinkedIn fetchAccessToken()

fetchAccessToken() public method Fetches access token from authorization code. public yii\authclient\OAuthToken fetchAccessToken ( $authCode, array $params = [] )$authCode string Authorization code, usually comes at $_GET['code']. $params array Additional request params. return yii\authclient\OAuthToken Access token.

authclient\clients\LinkedIn defaultTitle()

defaultTitle() protected method Generates service title. protected string defaultTitle ( )return string Service title.

authclient\clients\LinkedIn defaultReturnUrl()

defaultReturnUrl() protected method Composes default $returnUrl value. protected string defaultReturnUrl ( )return string Return URL.

authclient\clients\LinkedIn defaultNormalizeUserAttributeMap()

defaultNormalizeUserAttributeMap() protected method Returns the default $normalizeUserAttributeMap value. Particular client may override this method in order to provide specific default map. protected array defaultNormalizeUserAttributeMap ( )return array Normalize attribute map.

authclient\clients\LinkedIn defaultName()

defaultName() protected method Generates service name. protected string defaultName ( )return string Service name.

authclient\clients\LinkedIn buildAuthUrl()

buildAuthUrl() public method Composes user authorization URL. public string buildAuthUrl ( array $params = [] )$params array Additional auth GET params. return string Authorization URL.

authclient\clients\LinkedIn apiInternal()

apiInternal() protected method Performs request to the OAuth API. protected array apiInternal ( $accessToken, $url, $method, array $params, array $headers )$accessToken yii\authclient\OAuthToken Actual access token. $url string Absolute API URL. $method string Request method. $params array Request parameters. $headers array Additional request headers. return array API response. throws yii\base\Exception on failure.