Метод acceptsDocument

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 327–333
~/bitrix/modulesim/lib/V2/Guest/Auth/GuestApplication.php

Исходный код

PHP
protected static

Сигнатура метода

protected static function acceptsDocument(HttpRequest $request): bool

Возвращает: bool

Описание

The only thing a client without Fetch Metadata leaves to judge by, and it tells a page from a subresource but not from a hidden frame: a foreign site can end such a client's session by framing a public page. Accepted - the cookies survive, the invite link returns the same guest to the chat.

Параметры

1
Имя Тип По умолчанию Флаги
$request HttpRequest -
-