1C-Bitrix 25.700.0
|
Открытые члены | |
__construct ($appID=false, $appSecret=false, $code=false) | |
GetAuthUrl ($redirect_uri, $state='') | |
GetAccessToken ($redirect_uri) | |
getNewAccessToken ($refreshToken=false, $userId=0, $save=false, $scope=array()) | |
GetCurrentUser () | |
Открытые члены унаследованные от 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 () |
Открытые статические члены | |
static | GetRedirectURI () |
Поля данных | |
const | SERVICE_ID = "Box" |
const | AUTH_URL = "https://app.box.com/api/oauth2/authorize" |
const | TOKEN_URL = "https://app.box.com/api/oauth2/token" |
const | ACCOUNT_URL = "https://api.box.com/2.0/users/me" |
Поля данных унаследованные от CSocServOAuthTransport | |
const | SERVICE_ID = "generic" |
Защищенные данные | |
$oauthResult | |
Защищенные данные унаследованные от CSocServOAuthTransport | |
$appID | |
$appSecret | |
$code = false | |
$access_token = false | |
$accessTokenExpires = 0 | |
$refresh_token = '' | |
$scope = array() | |
$userId |
Дополнительные унаследованные члены | |
Защищенные члены унаследованные от CSocServOAuthTransport | |
getStorageTokens () | |
getDecodedJson ($url, $postData=null) |
Переопределяет метод предка CSocServOAuthTransport.
const AUTH_URL = "https://app.box.com/api/oauth2/authorize" |