Метод isPortalPublicPageNavigation
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
183–213
~/bitrix/modulesim/lib/V2/Guest/Auth/GuestApplication.php
Исходный код
Сигнатура метода
protected static function isPortalPublicPageNavigation(HttpRequest $request, ?string $externalAuthId): bool
Возвращает:
bool
Описание
Tells a guest following a chat link onto a public page of the portal from any other off-scope hit. The public scope carries the decision on the page, minus the places where its allowlist means "a session of that scope is let here" rather than "a page for a visitor without an account".
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$request
|
HttpRequest
|
-
|
-
|
$externalAuthId
|
?string
|
-
|
-
|