Метод onRestCheckAuth
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
130–218
~/bitrix/modulesim/lib/V2/Guest/Auth/GuestRestAuth.php
Исходный код
Сигнатура метода
public static function onRestCheckAuth(array $query, $scope, &$res): ?bool
Возвращает:
?bool
Описание
Activates when a guest token is in the request (header/cookie) or the user is already authorized as im_guest (intercepts before SessionAuth rejects).
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$query
|
array
|
-
|
-
|
$scope
|
-
|
-
|
-
|
$res
|
-
|
-
|
|