|
1C-Bitrix 25.700.0
|
Открытые члены | |
| __construct ($appID=false, $appSecret=false, $code=false) | |
| getResult () | |
| getError () | |
| GetAuthUrl ($redirect_uri='', $state='') | |
| getDeviceId ($state) | |
| GetAccessToken () | |
| GetCurrentUser () | |
| GetAppInfo () | |
| Открытые члены унаследованные от 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 () | |
Открытые статические члены | |
| static | GetRedirectURI () |
Поля данных | |
| const | SERVICE_ID = "YandexOAuth" |
| const | AUTH_URL = "https://oauth.yandex.ru/authorize" |
| const | TOKEN_URL = "https://oauth.yandex.ru/token" |
| const | USERINFO_URL = "https://login.yandex.ru/info" |
| const | MAX_DEVICE_ID_LENGTH = 50 |
| Поля данных унаследованные от CSocServOAuthTransport | |
| const | SERVICE_ID = "generic" |
Защищенные данные | |
| $arResult = array() | |
| Защищенные данные унаследованные от CSocServOAuthTransport | |
| $appID | |
| $appSecret | |
| $code = false | |
| $access_token = false | |
| $accessTokenExpires = 0 | |
| $refresh_token = '' | |
| $scope = array() | |
| $userId | |
Дополнительные унаследованные члены | |
| Защищенные члены унаследованные от CSocServOAuthTransport | |
| getStorageTokens () | |
| getDecodedJson ($url, $postData=null) | |
См. определение в файле yandex.php строка 289
Переопределяет метод предка CSocServOAuthTransport.
См. определение в файле yandex.php строка 302
| GetAccessToken | ( | ) |
См. определение в файле yandex.php строка 372
| GetAppInfo | ( | ) |
См. определение в файле yandex.php строка 450
| GetAuthUrl | ( | $redirect_uri = '', | |
| $state = '' ) |
| string | $redirect_uri | |
| string | $state |
См. определение в файле yandex.php строка 339
| GetCurrentUser | ( | ) |
См. определение в файле yandex.php строка 424
| getDeviceId | ( | $state | ) |
| getError | ( | ) |
См. определение в файле yandex.php строка 327
|
static |
См. определение в файле yandex.php строка 317
| getResult | ( | ) |
Переопределяет метод предка CSocServOAuthTransport.
См. определение в файле yandex.php строка 322
|
protected |
См. определение в файле yandex.php строка 300
| const AUTH_URL = "https://oauth.yandex.ru/authorize" |
См. определение в файле yandex.php строка 293
| const MAX_DEVICE_ID_LENGTH = 50 |
См. определение в файле yandex.php строка 298
| const SERVICE_ID = "YandexOAuth" |
См. определение в файле yandex.php строка 291
| const TOKEN_URL = "https://oauth.yandex.ru/token" |
См. определение в файле yandex.php строка 294
| const USERINFO_URL = "https://login.yandex.ru/info" |
См. определение в файле yandex.php строка 296