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

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

 __construct ($appID, $appSecret, $portalURI, $code=false)
 getMemberId ()
 GetAuthUrl ($redirect_uri, $state='')
 GetAccessToken ($redirect_uri)
 getNewAccessToken ($refreshToken, $userId=0, $save=false, $scope=array())
 saveDataDB ()
 getSignatureKey ()
Открытые члены унаследованные от CSocServOAuthTransport
 __construct ($appID, $appSecret, $code=false)
 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 = 'Bitrix24OAuth'
Поля данных унаследованные от CSocServOAuthTransport
const SERVICE_ID = "generic"

Защищенные данные

 $appID
 $appSecret
 $code = false
 $access_token = false
 $member_id = false
 $signatureKey = false
 $accessTokenExpires = 0
 $refresh_token = ''
 $portalURI = ''
 $scope = array()
Защищенные данные унаследованные от CSocServOAuthTransport
 $appID
 $appSecret
 $code = false
 $access_token = false
 $accessTokenExpires = 0
 $refresh_token = ''
 $scope = array()
 $userId

Дополнительные унаследованные члены

Защищенные члены унаследованные от CSocServOAuthTransport
 getStorageTokens ()
 getDecodedJson ($url, $postData=null)

Подробное описание

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

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

◆ __construct()

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

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

Методы

◆ GetAccessToken()

GetAccessToken ( $redirect_uri)

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

◆ GetAuthUrl()

GetAuthUrl ( $redirect_uri,
$state = '' )

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

◆ getMemberId()

getMemberId ( )

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

◆ getNewAccessToken()

getNewAccessToken ( $refreshToken,
$userId = 0,
$save = false,
$scope = array() )

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

◆ getSignatureKey()

getSignatureKey ( )

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

◆ saveDataDB()

saveDataDB ( )

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

Поля

◆ $access_token

$access_token = false
protected

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

◆ $accessTokenExpires

$accessTokenExpires = 0
protected

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

◆ $appID

$appID
protected

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

◆ $appSecret

$appSecret
protected

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

◆ $code

$code = false
protected

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

◆ $member_id

$member_id = false
protected

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

◆ $portalURI

$portalURI = ''
protected

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

◆ $refresh_token

$refresh_token = ''
protected

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

◆ $scope

$scope = array()
protected

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

◆ $signatureKey

$signatureKey = false
protected

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

◆ SERVICE_ID

const SERVICE_ID = 'Bitrix24OAuth'

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/socialservices/classes/general/bitrix24.php