Метод leavePortalScope
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
369–381
~/bitrix/modulesim/lib/V2/Guest/Auth/GuestApplication.php
Исходный код
Сигнатура метода
protected static function leavePortalScope(HttpRequest $request): void
Возвращает:
void
Описание
Ends the guest session and repeats the same request without the im_guest scope, so the target page authorizes the visitor itself. Suspended, not logged out, so the invite link returns the same guest {@see AuthorizationService::suspendCurrentGuestSession}; once the attempts are spent, 403 stands.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$request
|
HttpRequest
|
-
|
-
|