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

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

 __construct ($tenant=false, $appID=false, $appSecret=false, $code=false)
 getTenant ()
 setTenant ($tenant)
Открытые члены унаследованные от COffice365OAuthInterface
 __construct ($appID=false, $appSecret=false, $code=false)
 GetAuthUrl ($redirect_uri, $state='')
 getScopeEncode ()
 GetAccessToken ($redirect_uri=false)
 getNewAccessToken ($refreshToken, $userId=0, $save=false)
 getResource ()
 GetCurrentUser ()
 getRedirectUri ()
Открытые члены унаследованные от CSocServOAuthTransport
 getAppID ()
 getAppSecret ()
 getAccessTokenExpires ()
 setAccessTokenExpires ($accessTokenExpires)
 getToken ()
 setToken ($access_token)
 setRefreshToken ($refresh_token)
 getRefreshToken ()
 removeScope (string $scope)
 addScope ($scope)
 setScope ($scope)
 getScope ()
 setCode ($code)
 setUser ($userId)
 deleteStorageTokens ()
 checkAccessToken ()
 getResult ()

Поля данных

const RESOURCE_TPL = "https://#TENANT#-my.sharepoint.com"
const VERSION = "/_api/v2.0"
Поля данных унаследованные от COffice365OAuthInterface
const SERVICE_ID = "Office365"
const AUTH_URL = "https://login.microsoftonline.com/common/oauth2/v2.0/authorize"
const TOKEN_URL = "https://login.microsoftonline.com/common/oauth2/v2.0/token"
const VERSION = "/v1.0"
const CONTACTS_URL = "/me/"
const REDIRECT_URI = "/bitrix/tools/oauth/office365.php"
Поля данных унаследованные от CSocServOAuthTransport
const SERVICE_ID = "generic"

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

 $tenant = null
Защищенные данные унаследованные от COffice365OAuthInterface
 $resource = "https://graph.microsoft.com"
 $scope
Защищенные данные унаследованные от CSocServOAuthTransport
 $appID
 $appSecret
 $code = false
 $access_token = false
 $accessTokenExpires = 0
 $refresh_token = ''
 $scope = array()
 $userId

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

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

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

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

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

◆ __construct()

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

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

Методы

◆ getTenant()

getTenant ( )

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

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

◆ setTenant()

setTenant ( $tenant)

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

Поля

◆ $tenant

$tenant = null
protected

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

◆ RESOURCE_TPL

const RESOURCE_TPL = "https://#TENANT#-my.sharepoint.com"

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

◆ VERSION

const VERSION = "/_api/v2.0"

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


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