1C-Bitrix 25.700.0
|
Открытые члены | |
__construct ($appID=false, $appSecret=false, $code=false) | |
GetRedirectURI () | |
GetAuthUrl ($redirect_uri, $state='') | |
GetAccessToken ($redirect_uri) | |
GetCurrentUser () | |
GetAppInfo () | |
GetCurrentUserEmail () | |
GetCurrentUserFriends ($limit, &$next) | |
sendMessage ($uid, $message) | |
Открытые члены унаследованные от CSocServOAuthTransport | |
getAppID () | |
getAppSecret () | |
getAccessTokenExpires () | |
setAccessTokenExpires ($accessTokenExpires) | |
getToken () | |
setToken ($access_token) | |
setRefreshToken ($refresh_token) | |
getRefreshToken () | |
removeScope (string $scope) | |
addScope ($scope) | |
setScope ($scope) | |
getScope () | |
getScopeEncode () | |
setCode ($code) | |
setUser ($userId) | |
deleteStorageTokens () | |
checkAccessToken () | |
getResult () |
Поля данных | |
const | SERVICE_ID = "VKontakte" |
const | AUTH_URL = "https://oauth.vk.com/authorize" |
const | TOKEN_URL = "https://oauth.vk.com/access_token" |
const | CONTACTS_URL = "https://api.vk.com/method/users.get" |
const | FRIENDS_URL = "https://api.vk.com/method/friends.get" |
const | MESSAGE_URL = "https://api.vk.com/method/messages.send" |
const | APP_URL = "https://api.vk.com/method/apps.get" |
const | API_VERSION = "5.107" |
Поля данных унаследованные от CSocServOAuthTransport | |
const | SERVICE_ID = "generic" |
Защищенные данные | |
$userID = false | |
$userEmail = false | |
$scope | |
Защищенные данные унаследованные от CSocServOAuthTransport | |
$appID | |
$appSecret | |
$code = false | |
$access_token = false | |
$accessTokenExpires = 0 | |
$refresh_token = '' | |
$scope = array() | |
$userId |
Дополнительные унаследованные члены | |
Защищенные члены унаследованные от CSocServOAuthTransport | |
getStorageTokens () | |
getDecodedJson ($url, $postData=null) |
См. определение в файле vkontakte.php строка 285
Переопределяет метод предка CSocServOAuthTransport.
См. определение в файле vkontakte.php строка 308
GetAccessToken | ( | $redirect_uri | ) |
См. определение в файле vkontakte.php строка 343
GetAppInfo | ( | ) |
См. определение в файле vkontakte.php строка 433
GetAuthUrl | ( | $redirect_uri, | |
$state = '' ) |
См. определение в файле vkontakte.php строка 328
GetCurrentUser | ( | ) |
См. определение в файле vkontakte.php строка 407
GetCurrentUserEmail | ( | ) |
См. определение в файле vkontakte.php строка 454
GetCurrentUserFriends | ( | $limit, | |
& | $next ) |
См. определение в файле vkontakte.php строка 459
GetRedirectURI | ( | ) |
См. определение в файле vkontakte.php строка 323
sendMessage | ( | $uid, | |
$message ) |
См. определение в файле vkontakte.php строка 491
|
protected |
См. определение в файле vkontakte.php строка 302
|
protected |
См. определение в файле vkontakte.php строка 300
|
protected |
См. определение в файле vkontakte.php строка 299
const API_VERSION = "5.107" |
См. определение в файле vkontakte.php строка 297
const APP_URL = "https://api.vk.com/method/apps.get" |
См. определение в файле vkontakte.php строка 295
const AUTH_URL = "https://oauth.vk.com/authorize" |
См. определение в файле vkontakte.php строка 290
const CONTACTS_URL = "https://api.vk.com/method/users.get" |
См. определение в файле vkontakte.php строка 292
const FRIENDS_URL = "https://api.vk.com/method/friends.get" |
См. определение в файле vkontakte.php строка 293
const MESSAGE_URL = "https://api.vk.com/method/messages.send" |
См. определение в файле vkontakte.php строка 294
const SERVICE_ID = "VKontakte" |
См. определение в файле vkontakte.php строка 287
const TOKEN_URL = "https://oauth.vk.com/access_token" |
См. определение в файле vkontakte.php строка 291