1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Auth

Открытые статические члены

static authorizeClient ($clientId, $userId, $state='')
static get ($clientId, $scope, $additionalParams, $userId)
static storeRegisteredAuth (array $tokenInfo)
static onRestCheckAuth (array $query, $scope, &$res)
static getAuthKey (array $query)
static updateTokenParameters ($tokenInfo)
static getStorage ()
static setStorage (AuthStorageInterface $storage)

Поля данных

const AUTH_TYPE = 'oauth'
const CACHE_TTL = 3600
const CACHE_PREFIX = "oauth_"
const PARAM_LOCAL_USER = 'LOCAL_USER'
const PARAM_TZ_OFFSET = 'TZ_OFFSET'

Защищенные статические члены

static check ($accessToken)
static getTokenParams ($additionalParams, $userId)

Статические защищенные данные

static $storage = null
static $authQueryParams
static $authQueryAdditional

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

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

Методы

◆ authorizeClient()

authorizeClient ( $clientId,
$userId,
$state = '' )
static

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

◆ check()

check ( $accessToken)
staticprotected

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

◆ get()

get ( $clientId,
$scope,
$additionalParams,
$userId )
static

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

◆ getAuthKey()

getAuthKey ( array $query)
static

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

◆ getStorage()

getStorage ( )
static
Возвращает
AuthStorageInterface

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

◆ getTokenParams()

getTokenParams ( $additionalParams,
$userId )
staticprotected

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

◆ onRestCheckAuth()

onRestCheckAuth ( array $query,
$scope,
& $res )
static

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

◆ setStorage()

setStorage ( AuthStorageInterface $storage)
static
Аргументы
AuthStorageInterface$storage

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

◆ storeRegisteredAuth()

storeRegisteredAuth ( array $tokenInfo)
static

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

◆ updateTokenParameters()

updateTokenParameters ( $tokenInfo)
static

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

Поля

◆ $authQueryAdditional

$authQueryAdditional
staticprotected
Инициализатор
'auth_connector'
)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804

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

◆ $authQueryParams

$authQueryParams
staticprotected
Инициализатор
'auth', 'access_token'
)

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

◆ $storage

$storage = null
staticprotected

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

◆ AUTH_TYPE

const AUTH_TYPE = 'oauth'

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

◆ CACHE_PREFIX

const CACHE_PREFIX = "oauth_"

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

◆ CACHE_TTL

const CACHE_TTL = 3600

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

◆ PARAM_LOCAL_USER

const PARAM_LOCAL_USER = 'LOCAL_USER'

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

◆ PARAM_TZ_OFFSET

const PARAM_TZ_OFFSET = 'TZ_OFFSET'

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/rest/lib/oauth/auth.php