Protected Member Functions | |
fetchAttributes () | |
getCodeUrl ($redirect_uri) | |
saveAccessToken ($token) | |
restoreAccessToken () | |
fetchJsonError ($json) | |
![]() | |
getTokenUrl ($code) | |
getAccessToken ($code) | |
![]() | |
makeRequest ($url, $options=array(), $parseJson=true) | |
initRequest ($url, $options=array()) | |
parseJson ($response) | |
getStateKeyPrefix () | |
setState ($key, $value, $defaultValue=null) | |
hasState ($key) | |
getState ($key, $defaultValue=null) | |
_fetchAttributes () |
Protected Attributes | |
$name = 'vkontakte' | |
$title = 'VK.com' | |
$type = 'OAuth' | |
$jsArguments = array('popup' => array('width' => 585, 'height' => 350)) | |
$client_id = '' | |
$client_secret = '' | |
$scope = '' | |
$providerOptions | |
$uid = null | |
![]() | |
$client_id | |
$client_secret | |
$scope = '' | |
$providerOptions | |
$access_token = '' | |
![]() | |
$name | |
$title | |
$type | |
$jsArguments = array() | |
$attributes = array() | |
$authenticated = false |
Additional Inherited Members | |
![]() | |
authenticate () | |
makeSignedRequest ($url, $options=array(), $parseJson=true) |
Definition at line 18 of file VKontakteOAuthService.php.
|
protected |
Fetch attributes array.
Reimplemented from EAuthServiceBase.
Reimplemented in CustomVKontakteService.
Definition at line 35 of file VKontakteOAuthService.php.
References EOAuth2Service\makeSignedRequest().
|
protected |
Returns the error info from json.
stdClass | $json | the json response. |
Reimplemented from EAuthServiceBase.
Definition at line 112 of file VKontakteOAuthService.php.
|
protected |
Returns the url to request to get OAuth2 code.
string | $redirect_uri | url to redirect after user confirmation. |
Reimplemented from EOAuth2Service.
Definition at line 73 of file VKontakteOAuthService.php.
|
protected |
Restore access token from the session.
Reimplemented from EOAuth2Service.
Definition at line 96 of file VKontakteOAuthService.php.
References EAuthServiceBase\getState(), and EAuthServiceBase\hasState().
|
protected |
Save access token to the session.
stdClass | $token | access token object. |
Reimplemented from EOAuth2Service.
Definition at line 84 of file VKontakteOAuthService.php.
References EAuthServiceBase\setState().
|
protected |
Definition at line 28 of file VKontakteOAuthService.php.