PHP Class yii\authclient\clients\Yandex

In order to use Yandex OAuth you must register your application at . Example application configuration: php 'components' => [ 'authClientCollection' => [ 'class' => 'yii\authclient\Collection', 'clients' => [ 'yandex' => [ 'class' => 'yii\authclient\clients\Yandex', 'clientId' => 'yandex_client_id', 'clientSecret' => 'yandex_client_secret', ], ], ] ... ]
See also: https://oauth.yandex.ru/client/new
See also: http://api.yandex.ru/login/doc/dg/reference/response.xml
Since: 2.0
Author: Paul Klimov ([email protected])
Inheritance: extends yii\authclient\OAuth2
Mostra file Open project: yiisoft/yii2-authclient

Public Properties

Property Type Description
$apiBaseUrl
$authUrl
$tokenUrl

Public Methods

Method Description
applyAccessTokenToRequest ( $request, $accessToken )

Protected Methods

Method Description
defaultName ( )
defaultTitle ( )
initUserAttributes ( )

Method Details

applyAccessTokenToRequest() public method

public applyAccessTokenToRequest ( $request, $accessToken )

defaultName() protected method

protected defaultName ( )

defaultTitle() protected method

protected defaultTitle ( )

initUserAttributes() protected method

protected initUserAttributes ( )

Property Details

$apiBaseUrl public_oe property

public $apiBaseUrl

$authUrl public_oe property

public $authUrl

$tokenUrl public_oe property

public $tokenUrl