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

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

 __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

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

◆ __construct()

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

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

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

Методы

◆ GetAccessToken()

GetAccessToken ( )

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

◆ GetAppInfo()

GetAppInfo ( )

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

◆ GetAuthUrl()

GetAuthUrl ( $redirect_uri = '',
$state = '' )
Аргументы
string$redirect_uri
string$state
Возвращает
string

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

◆ GetCurrentUser()

GetCurrentUser ( )

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

◆ getDeviceId()

getDeviceId ( $state)
Аргументы
string$state
Возвращает
string

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

◆ getError()

getError ( )

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

◆ GetRedirectURI()

GetRedirectURI ( )
static

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

◆ getResult()

getResult ( )

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

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

Поля

◆ $arResult

$arResult = array()
protected

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

◆ AUTH_URL

const AUTH_URL = "https://oauth.yandex.ru/authorize"

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

◆ MAX_DEVICE_ID_LENGTH

const MAX_DEVICE_ID_LENGTH = 50

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

◆ SERVICE_ID

const SERVICE_ID = "YandexOAuth"

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

◆ TOKEN_URL

const TOKEN_URL = "https://oauth.yandex.ru/token"

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

◆ USERINFO_URL

const USERINFO_URL = "https://login.yandex.ru/info"

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/socialservices/classes/general/yandex.php