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

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

 __construct ($params, $toLowerMethod=true)
 process ()
 getTransport ()
 getAuth ()
 getAuthData ()
 getAuthScope ()
 getQuery ()
 getAuthType ()
 getAppId ()
 getClientId ()
 getPasswordId ()
 getMethod ()
 setStatus ($status)
 setSecurityState ($state=null)
 getScope ()
 getScopeList ()
 getServiceDescription ()
 getTokenCheckSignature ($method, $queryString)
 getApplicationSignature ()
 requestConfirmation ($userList, $message)
 sendHeaders ()
 sendHeadersAdditional ()
 output ($data)
 finalize ()

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

static instance ()
static transportSupported ($transport)

Поля данных

const STATUS_OK = "200 OK"
const STATUS_CREATED = "201 Created"
const STATUS_WRONG_REQUEST = "400 Bad Request"
const STATUS_UNAUTHORIZED = "401 Unauthorized"
const STATUS_PAYMENT_REQUIRED = "402 Payment Required"
const STATUS_FORBIDDEN = "403 Forbidden"
const STATUS_NOT_FOUND = "404 Not Found"
const STATUS_TO_MANY_REQUESTS = "429 Too Many Requests"
const STATUS_INTERNAL = "500 Internal Server Error"

Защищенные члены

 isTokenCheck ()
 processTokenCheckCall ()
 processCall ()
 checkAuth ()
 canUseConnectors ()
 getMethodOptions ()
 appendDebugInfo (array $data)

Защищенные данные

 $class = ''
 $method = ''
 $transport = ''
 $scope = ''
 $query = array()
 $timeStart = 0
 $timeProcessStart = 0
 $timeProcessFinish = 0
 $usage = null
 $auth = array()
 $authData = array()
 $authScope = null
 $clientId = ''
 $passwordId = ''
 $error = ''
 $resultStatus = null
 $securityMethodState = null
 $securityClientState = null
 $arServiceDesc = array()
 $tokenCheck = false
 $authType = null

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

static $instance = null

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

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

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

◆ __construct()

__construct ( $params,
$toLowerMethod = true )

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

Методы

◆ appendDebugInfo()

appendDebugInfo ( array $data)
protected

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

◆ canUseConnectors()

canUseConnectors ( )
protected

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

◆ checkAuth()

checkAuth ( )
protected

Переопределяется в CRestServerBatchItem.

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

◆ finalize()

finalize ( )

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

◆ getAppId()

getAppId ( )

use \CRestServer::getClientId()

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

◆ getApplicationSignature()

getApplicationSignature ( )

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

◆ getAuth()

getAuth ( )

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

◆ getAuthData()

getAuthData ( )

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

◆ getAuthScope()

getAuthScope ( )

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

◆ getAuthType()

getAuthType ( )

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

◆ getClientId()

getClientId ( )

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

◆ getMethod()

getMethod ( )

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

◆ getMethodOptions()

getMethodOptions ( )
protected

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

◆ getPasswordId()

getPasswordId ( )

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

◆ getQuery()

getQuery ( )

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

◆ getScope()

getScope ( )

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

◆ getScopeList()

getScopeList ( )

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

◆ getServiceDescription()

getServiceDescription ( )

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

◆ getTokenCheckSignature()

getTokenCheckSignature ( $method,
$queryString )

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

◆ getTransport()

getTransport ( )

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

◆ instance()

instance ( )
static
Возвращает
\CRestServer|null

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

◆ isTokenCheck()

isTokenCheck ( )
protected

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

◆ output()

output ( $data)

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

◆ process()

process ( )

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

◆ processCall()

processCall ( )
protected

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

◆ processTokenCheckCall()

processTokenCheckCall ( )
protected

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

◆ requestConfirmation()

requestConfirmation ( $userList,
$message )

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

◆ sendHeaders()

sendHeaders ( )

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

◆ sendHeadersAdditional()

sendHeadersAdditional ( )

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

◆ setSecurityState()

setSecurityState ( $state = null)

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

◆ setStatus()

setStatus ( $status)

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

◆ transportSupported()

transportSupported ( $transport)
static

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

Поля

◆ $arServiceDesc

$arServiceDesc = array()
protected

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

◆ $auth

$auth = array()
protected

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

◆ $authData

$authData = array()
protected

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

◆ $authScope

$authScope = null
protected

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

◆ $authType

$authType = null
protected

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

◆ $class

$class = ''
protected

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

◆ $clientId

$clientId = ''
protected

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

◆ $error

$error = ''
protected

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

◆ $instance

$instance = null
staticprotected

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

◆ $method

$method = ''
protected

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

◆ $passwordId

$passwordId = ''
protected

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

◆ $query

$query = array()
protected

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

◆ $resultStatus

$resultStatus = null
protected

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

◆ $scope

$scope = ''
protected

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

◆ $securityClientState

$securityClientState = null
protected

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

◆ $securityMethodState

$securityMethodState = null
protected

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

◆ $timeProcessFinish

$timeProcessFinish = 0
protected

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

◆ $timeProcessStart

$timeProcessStart = 0
protected

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

◆ $timeStart

$timeStart = 0
protected

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

◆ $tokenCheck

$tokenCheck = false
protected

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

◆ $transport

$transport = ''
protected

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

◆ $usage

$usage = null
protected

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

◆ STATUS_CREATED

const STATUS_CREATED = "201 Created"

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

◆ STATUS_FORBIDDEN

const STATUS_FORBIDDEN = "403 Forbidden"

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

◆ STATUS_INTERNAL

const STATUS_INTERNAL = "500 Internal Server Error"

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

◆ STATUS_NOT_FOUND

const STATUS_NOT_FOUND = "404 Not Found"

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

◆ STATUS_OK

const STATUS_OK = "200 OK"

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

◆ STATUS_PAYMENT_REQUIRED

const STATUS_PAYMENT_REQUIRED = "402 Payment Required"

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

◆ STATUS_TO_MANY_REQUESTS

const STATUS_TO_MANY_REQUESTS = "429 Too Many Requests"

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

◆ STATUS_UNAUTHORIZED

const STATUS_UNAUTHORIZED = "401 Unauthorized"

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

◆ STATUS_WRONG_REQUEST

const STATUS_WRONG_REQUEST = "400 Bad Request"

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


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