/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Security/Http/EntryPoint/Exception/NotAnEntryPointException.php
25 строк
634 B
Nicolas Grekas
[Security] Return 403 instead of 500 when no firewall is defined
02 фев 2023, 11:13
02 фев 2023, 11:13
c021ce7
Код
Авторство
О чём код?
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Http\EntryPoint\Exception; use Symfony\Component\HttpKernel\Attribute\WithHttpStatus; /** * Thrown by generic decorators when a decorated authenticator does not implement * {@see AuthenticationEntryPointInterface}. * * @author Robin Chalas <robin.chalas@gmail.com> */ #[WithHttpStatus(401)] class NotAnEntryPointException extends \RuntimeException { }