Файловый менеджер - Редактировать - /home/avadvi5/calendar.aeronextgen.com/davis/vendor/symfony/security-http/Authentication/CustomAuthenticationSuccessHandler.php
Ðазад
<?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\Authentication; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; /** * @author Fabien Potencier <fabien@symfony.com> */ class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface { /** * @param array $options Options for processing a successful authentication attempt */ public function __construct( private AuthenticationSuccessHandlerInterface $handler, array $options, string $firewallName, ) { if (method_exists($handler, 'setOptions')) { $this->handler->setOptions($options); } if (method_exists($handler, 'setFirewallName')) { $this->handler->setFirewallName($firewallName); } } public function onAuthenticationSuccess(Request $request, TokenInterface $token): ?Response { return $this->handler->onAuthenticationSuccess($request, $token); } }
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка