PHP Класс Symfony\Component\Security\Http\Firewall\UsernamePasswordJsonAuthenticationListener

Автор: Kévin Dunglas ([email protected])
Наследование: implements Symfony\Component\Security\Http\Firewall\ListenerInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface $authenticationManager, $providerKey, Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface $successHandler, Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface $failureHandler, array $options = [], Psr\Log\LoggerInterface $logger = null, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher = null, Symfony\Component\PropertyAccess\PropertyAccessorInterface $propertyAccessor = null )
handle ( GetResponseEvent $event )

Приватные методы

Метод Описание
onFailure ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $failed )
onSuccess ( Request $request, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token )

Описание методов

__construct() публичный Метод

public __construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface $authenticationManager, $providerKey, Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface $successHandler, Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface $failureHandler, array $options = [], Psr\Log\LoggerInterface $logger = null, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher = null, Symfony\Component\PropertyAccess\PropertyAccessorInterface $propertyAccessor = null )
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$authenticationManager Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface
$successHandler Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface
$failureHandler Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface
$options array
$logger Psr\Log\LoggerInterface
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$propertyAccessor Symfony\Component\PropertyAccess\PropertyAccessorInterface

handle() публичный Метод

public handle ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent