1C-Bitrix 25.700.0
|
Открытые члены | |
__construct ($appID=false, $appSecret=false, $code=false) | |
addScope ($scope) | |
removeScope (string $scope) | |
getScopeEncode () | |
getResult () | |
getError () | |
GetAuthUrl ($redirect_uri, $state='', $apiKey='') | |
setIdTokenAuth (string $tokenId) | |
GetAccessToken ($redirect_uri=false) | |
GetCurrentUser () | |
GetAppInfo () | |
GetCurrentUserFriends ($limit, &$next) | |
getNewAccessToken ($refreshToken=false, $userId=0, $save=false) | |
getRedirectUri () | |
Открытые члены унаследованные от CSocServOAuthTransport | |
getAppID () | |
getAppSecret () | |
getAccessTokenExpires () | |
setAccessTokenExpires ($accessTokenExpires) | |
getToken () | |
setToken ($access_token) | |
setRefreshToken ($refresh_token) | |
getRefreshToken () | |
setScope ($scope) | |
getScope () | |
setCode ($code) | |
setUser ($userId) | |
deleteStorageTokens () | |
checkAccessToken () |
Поля данных | |
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" |
Защищенные члены | |
getOptionNameForScopes () | |
checkSavedScope () | |
saveScope () | |
Защищенные члены унаследованные от CSocServOAuthTransport | |
getStorageTokens () | |
getDecodedJson ($url, $postData=null) |
Защищенные данные | |
$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 |
См. определение в файле google.php строка 422
Переопределяет метод предка CSocServOAuthTransport.
Переопределяется в CGoogleProxyOAuthInterface.
См. определение в файле google.php строка 449
addScope | ( | $scope | ) |
Переопределяет метод предка CSocServOAuthTransport.
См. определение в файле google.php строка 492
|
protected |
См. определение в файле google.php строка 473
GetAccessToken | ( | $redirect_uri = false | ) |
Переопределяется в CGoogleProxyOAuthInterface.
См. определение в файле google.php строка 593
GetAppInfo | ( | ) |
См. определение в файле google.php строка 691
GetAuthUrl | ( | $redirect_uri, | |
$state = '', | |||
$apiKey = '' ) |
См. определение в файле google.php строка 525
GetCurrentUser | ( | ) |
См. определение в файле google.php строка 667
GetCurrentUserFriends | ( | $limit, | |
& | $next ) |
См. определение в файле google.php строка 720
getError | ( | ) |
См. определение в файле google.php строка 518
Переопределяется в CGoogleProxyOAuthInterface.
См. определение в файле google.php строка 843
|
protected |
См. определение в файле google.php строка 468
getRedirectUri | ( | ) |
Переопределяется в CGoogleProxyOAuthInterface.
См. определение в файле google.php строка 890
getResult | ( | ) |
Переопределяет метод предка CSocServOAuthTransport.
См. определение в файле google.php строка 513
getScopeEncode | ( | ) |
Переопределяет метод предка CSocServOAuthTransport.
См. определение в файле google.php строка 508
removeScope | ( | string | $scope | ) |
Переопределяет метод предка CSocServOAuthTransport.
См. определение в файле google.php строка 501
|
protected |
См. определение в файле google.php строка 486
setIdTokenAuth | ( | string | $tokenId | ) |
См. определение в файле google.php строка 539
|
protected |
См. определение в файле google.php строка 444
|
protected |
См. определение в файле google.php строка 447
|
protected |
См. определение в файле google.php строка 446
|
protected |
См. определение в файле google.php строка 442
|
protected |
См. определение в файле google.php строка 437
const AUTH_URL = "https://accounts.google.com/o/oauth2/auth" |
См. определение в файле google.php строка 429
const CERTS_URL = "https://www.googleapis.com/oauth2/v3/certs" |
См. определение в файле google.php строка 426
const CONTACTS_URL = "https://www.googleapis.com/oauth2/v1/userinfo" |
См. определение в файле google.php строка 431
const FRIENDS_URL = "https://www.google.com/m8/feeds/contacts/default/full" |
См. определение в файле google.php строка 432
const JWT_ALG = ["RS256"] |
См. определение в файле google.php строка 427
const REDIRECT_URI = "/bitrix/tools/oauth/google.php" |
См. определение в файле google.php строка 435
const SERVICE_ID = "GoogleOAuth" |
См. определение в файле google.php строка 424
const TOKEN_URL = "https://accounts.google.com/o/oauth2/token" |
См. определение в файле google.php строка 430
const TOKENINFO_URL = "https://www.googleapis.com/oauth2/v2/tokeninfo" |
См. определение в файле google.php строка 433