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

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

 __construct ($appID=false, $appSecret=false, $code=false)
 GetAccessToken ($redirect_uri=false)
 getNewAccessToken ($refreshToken=false, $userId=0, $save=false)
 getAppId ()
 getRedirectUri ()
 getLicenseParams ()
Открытые члены унаследованные от CGoogleOAuthInterface
 addScope ($scope)
 removeScope (string $scope)
 getScopeEncode ()
 getResult ()
 getError ()
 GetAuthUrl ($redirect_uri, $state='', $apiKey='')
 setIdTokenAuth (string $tokenId)
 GetCurrentUser ()
 GetAppInfo ()
 GetCurrentUserFriends ($limit, &$next)
Открытые члены унаследованные от CSocServOAuthTransport
 getAppID ()
 getAppSecret ()
 getAccessTokenExpires ()
 setAccessTokenExpires ($accessTokenExpires)
 getToken ()
 setToken ($access_token)
 setRefreshToken ($refresh_token)
 getRefreshToken ()
 setScope ($scope)
 getScope ()
 setCode ($code)
 setUser ($userId)
 deleteStorageTokens ()
 checkAccessToken ()

Поля данных

const TOKEN_URL = "https://calendar-proxy-ru-01.bitrix24.com"
Поля данных унаследованные от CGoogleOAuthInterface
const SERVICE_ID = "GoogleOAuth"
const CERTS_URL = "https://www.googleapis.com/oauth2/v3/certs"
const JWT_ALG = ["RS256"]
const AUTH_URL = "https://accounts.google.com/o/oauth2/auth"
const TOKEN_URL = "https://accounts.google.com/o/oauth2/token"
const CONTACTS_URL = "https://www.googleapis.com/oauth2/v1/userinfo"
const FRIENDS_URL = "https://www.google.com/m8/feeds/contacts/default/full"
const TOKENINFO_URL = "https://www.googleapis.com/oauth2/v2/tokeninfo"
const REDIRECT_URI = "/bitrix/tools/oauth/google.php"
Поля данных унаследованные от CSocServOAuthTransport
const SERVICE_ID = "generic"

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

Защищенные члены унаследованные от CGoogleOAuthInterface
 getOptionNameForScopes ()
 checkSavedScope ()
 saveScope ()
Защищенные члены унаследованные от CSocServOAuthTransport
 getStorageTokens ()
 getDecodedJson ($url, $postData=null)
Защищенные данные унаследованные от CGoogleOAuthInterface
 $standardScope
 $scope = array()
 $arResult = array()
string $idTokenAuth = null
array $fetchedPublicKeys = null
Защищенные данные унаследованные от CSocServOAuthTransport
 $appID
 $appSecret
 $code = false
 $access_token = false
 $accessTokenExpires = 0
 $refresh_token = ''
 $scope = array()
 $userId

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

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

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

◆ __construct()

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

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

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

Методы

◆ GetAccessToken()

GetAccessToken ( $redirect_uri = false)

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

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

◆ getAppId()

getAppId ( )
Возвращает
string

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

◆ getLicenseParams()

getLicenseParams ( )
Возвращает
array

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

◆ getNewAccessToken()

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

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

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

◆ getRedirectUri()

getRedirectUri ( )
Возвращает
string

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

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

Поля

◆ TOKEN_URL

const TOKEN_URL = "https://calendar-proxy-ru-01.bitrix24.com"

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


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