PHP 클래스 yii\authclient\clients\VKontakte

In order to use VKontakte OAuth you must register your application at . Example application configuration: ~~~ 'components' => [ 'authClientCollection' => [ 'class' => 'yii\authclient\Collection', 'clients' => [ 'vkontakte' => [ 'class' => 'yii\authclient\clients\VKontakte', 'clientId' => 'vkontakte_client_id', 'clientSecret' => 'vkontakte_client_secret', ], ], ] ... ] ~~~
또한 보기: http://vk.com/apps.php?act=add&site=1
또한 보기: http://vk.com/developers.php?oid=-1&p=users.get
부터: 2.0
저자: Paul Klimov ([email protected])
상속: extends yii\authclient\OAuth2
파일 보기 프로젝트 열기: yiisoft/yii2-authclient 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$apiBaseUrl
$attributeNames list of attribute names, which should be requested from API to initialize user attributes.
$authUrl
$tokenUrl

공개 메소드들

메소드 설명
applyAccessTokenToRequest ( $request, $accessToken )

보호된 메소드들

메소드 설명
defaultName ( )
defaultNormalizeUserAttributeMap ( )
defaultTitle ( )
initUserAttributes ( )

메소드 상세

applyAccessTokenToRequest() 공개 메소드

public applyAccessTokenToRequest ( $request, $accessToken )

defaultName() 보호된 메소드

protected defaultName ( )

defaultNormalizeUserAttributeMap() 보호된 메소드

defaultTitle() 보호된 메소드

protected defaultTitle ( )

initUserAttributes() 보호된 메소드

protected initUserAttributes ( )

프로퍼티 상세

$apiBaseUrl 공개적으로 프로퍼티

public $apiBaseUrl

$attributeNames 공개적으로 프로퍼티

list of attribute names, which should be requested from API to initialize user attributes.
부터: 2.0.4
public $attributeNames

$authUrl 공개적으로 프로퍼티

public $authUrl

$tokenUrl 공개적으로 프로퍼티

public $tokenUrl