Метод onApplicationScopeError

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

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

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

Исходный код

PHP
public static

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

public static function onApplicationScopeError(Event $event): void

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

Описание

Three off-scope cases get an answer of their own, everything else falls through to the prolog's 403. Logout() must not run on those: Logout()→regenerateId() destroys the session and races the JS bundle's AJAX burst (the 401/500/"Could not start session" cascade).

Параметры

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