1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CVKontakteOAuthInterface
Граф наследования:CVKontakteOAuthInterface:
CSocServOAuthTransport

Открытые члены

 __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

Конструктор(ы)

◆ __construct()

__construct ( $appID = false,
$appSecret = false,
$code = false )

Переопределяет метод предка CSocServOAuthTransport.

См. определение в файле vkontakte.php строка 308

Методы

◆ GetAccessToken()

GetAccessToken ( $redirect_uri)

См. определение в файле vkontakte.php строка 343

◆ GetAppInfo()

GetAppInfo ( )

См. определение в файле vkontakte.php строка 433

◆ GetAuthUrl()

GetAuthUrl ( $redirect_uri,
$state = '' )

См. определение в файле vkontakte.php строка 328

◆ GetCurrentUser()

GetCurrentUser ( )

См. определение в файле vkontakte.php строка 407

◆ GetCurrentUserEmail()

GetCurrentUserEmail ( )

См. определение в файле vkontakte.php строка 454

◆ GetCurrentUserFriends()

GetCurrentUserFriends ( $limit,
& $next )

См. определение в файле vkontakte.php строка 459

◆ GetRedirectURI()

GetRedirectURI ( )

См. определение в файле vkontakte.php строка 323

◆ sendMessage()

sendMessage ( $uid,
$message )

См. определение в файле vkontakte.php строка 491

Поля

◆ $scope

$scope
protected
Инициализатор
"friends",
"offline",
"email",
)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804

См. определение в файле vkontakte.php строка 302

◆ $userEmail

$userEmail = false
protected

См. определение в файле vkontakte.php строка 300

◆ $userID

$userID = false
protected

См. определение в файле vkontakte.php строка 299

◆ API_VERSION

const API_VERSION = "5.107"

См. определение в файле vkontakte.php строка 297

◆ APP_URL

const APP_URL = "https://api.vk.com/method/apps.get"

См. определение в файле vkontakte.php строка 295

◆ AUTH_URL

const AUTH_URL = "https://oauth.vk.com/authorize"

См. определение в файле vkontakte.php строка 290

◆ CONTACTS_URL

const CONTACTS_URL = "https://api.vk.com/method/users.get"

См. определение в файле vkontakte.php строка 292

◆ FRIENDS_URL

const FRIENDS_URL = "https://api.vk.com/method/friends.get"

См. определение в файле vkontakte.php строка 293

◆ MESSAGE_URL

const MESSAGE_URL = "https://api.vk.com/method/messages.send"

См. определение в файле vkontakte.php строка 294

◆ SERVICE_ID

const SERVICE_ID = "VKontakte"

См. определение в файле vkontakte.php строка 287

◆ TOKEN_URL

const TOKEN_URL = "https://oauth.vk.com/access_token"

См. определение в файле vkontakte.php строка 291


Объявления и описания членов класса находятся в файле: