Метод ourAuthorizationFollows
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
555–563
~/bitrix/modulesim/lib/V2/Guest/GuestService.php
Исходный код
Сигнатура метода
private function ourAuthorizationFollows(?Token $token, ?User $contextUser): bool
Возвращает:
bool
Описание
Whether the guest authorization of this module is what follows on this request. Clearing the exit mark takes the lock of the general session until the render hands it back, so the branches that answer before it - portal user, visitor of an unlisted contour - must not pay for it.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$token
|
?Token
|
-
|
-
|
$contextUser
|
?User
|
-
|
-
|