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\YandexOAuth $tokenUrl

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

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 defaultName()

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

authclient\clients\YandexOAuth defaultTitle()

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

authclient\clients\YandexOAuth initUserAttributes()

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

authclient\clients\YandexOpenId $authUrl

$authUrl public property Authentication base URL, which should be used to compose actual authentication URL by buildAuthUrl() method. Authentication base URL, which should be used to compose actual authentication URL by buildAuthUrl() method. public string $authUrl = 'http://openid.yandex.ru'

authclient\clients\YandexOpenId $requiredAttributes

$requiredAttributes public property List of attributes, which always should be returned from server. Attribute names should be always specified in AX format. For example: ['namePerson/friendly', 'contact/email'] List of attributes, which always should be returned from server. Attribute names should be always specified in AX format. For example: ['namePerson/friendly', 'contact/email'] public array $requiredAttributes = ['namePerson', 'contact/email']

authclient\clients\YandexOpenId defaultName()

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