authclient\clients\YandexOAuth 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.

authclient\clients\YandexOAuth $tokenUrl

$tokenUrl public property Token request URL endpoint. Token request URL endpoint. public string $tokenUrl = 'https://oauth.yandex.ru/token'

authclient\clients\YandexOAuth $apiBaseUrl

$apiBaseUrl public property API base URL. API base URL. public string $apiBaseUrl = 'https://login.yandex.ru'

authclient\clients\YandexOAuth $authUrl

$authUrl public property Authorize URL. Authorize URL. public string $authUrl = 'https://oauth.yandex.ru/authorize'

authclient\clients\VKontakte 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\VKontakte initUserAttributes()

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

authclient\clients\VKontakte defaultName()

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

authclient\clients\VKontakte defaultTitle()

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

authclient\clients\VKontakte 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.

authclient\clients\VKontakte $tokenUrl

$tokenUrl public property Token request URL endpoint. Token request URL endpoint. public string $tokenUrl = 'https://api.vk.com/oauth/access_token'