1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CSocServOAuthTransport
Граф наследования:CSocServOAuthTransport:
CAppleInterface CBitrixOAuthInterface CBitrixServiceOAuthInterface CBoxOAuthInterface CDropboxOAuthInterface CFacebookInterface CGoogleOAuthInterface CMailRu2Interface COffice365OAuthInterface CVKontakteOAuthInterface CYandexOAuthInterface CZoomInterface

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

 __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 = "generic"

Защищенные члены

 getStorageTokens ()
 getDecodedJson ($url, $postData=null)

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

 $appID
 $appSecret
 $code = false
 $access_token = false
 $accessTokenExpires = 0
 $refresh_token = ''
 $scope = array()
 $userId

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

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

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

◆ __construct()

Методы

◆ addScope()

addScope ( $scope)

Переопределяется в CGoogleOAuthInterface.

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

◆ checkAccessToken()

checkAccessToken ( )

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

◆ deleteStorageTokens()

deleteStorageTokens ( )

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

◆ getAccessTokenExpires()

getAccessTokenExpires ( )

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

◆ getAppID()

getAppID ( )

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

◆ getAppSecret()

getAppSecret ( )

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

◆ getDecodedJson()

getDecodedJson ( $url,
$postData = null )
protected

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

◆ getRefreshToken()

getRefreshToken ( )

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

◆ getResult()

getResult ( )

Переопределяется в CAppleInterface, CBitrixServiceOAuthInterface, CFacebookInterface, CGoogleOAuthInterface, CMailRu2Interface, CYandexOAuthInterface и CZoomInterface.

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

◆ getScope()

getScope ( )

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

◆ getScopeEncode()

getScopeEncode ( )

Переопределяется в CAppleInterface, CGoogleOAuthInterface, CMailRu2Interface, COffice365OAuthInterface и CZoomInterface.

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

◆ getStorageTokens()

getStorageTokens ( )
protected

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

◆ getToken()

getToken ( )

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

◆ removeScope()

removeScope ( string $scope)

Переопределяется в CGoogleOAuthInterface.

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

◆ setAccessTokenExpires()

setAccessTokenExpires ( $accessTokenExpires)

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

◆ setCode()

setCode ( $code)

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

◆ setRefreshToken()

setRefreshToken ( $refresh_token)

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

◆ setScope()

setScope ( $scope)

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

◆ setToken()

setToken ( $access_token)

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

◆ setUser()

setUser ( $userId)

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

Поля

◆ $access_token

$access_token = false
protected

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

◆ $accessTokenExpires

$accessTokenExpires = 0
protected

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

◆ $appID

$appID
protected

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

◆ $appSecret

$appSecret
protected

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

◆ $code

$code = false
protected

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

◆ $refresh_token

$refresh_token = ''
protected

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

◆ $scope

$scope = array()
protected

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

◆ $userId

$userId
protected

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

◆ SERVICE_ID

const SERVICE_ID = "generic"

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


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