UsernamePasswordJsonAuthenticationListener
class UsernamePasswordJsonAuthenticationListener implements ListenerInterface
UsernamePasswordJsonAuthenticationListener is a stateless implementation of an authentication via a JSON document composed of a username and a password.
Methods
| __construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, HttpUtils $httpUtils, string $providerKey, AuthenticationSuccessHandlerInterface $successHandler = null, AuthenticationFailureHandlerInterface $failureHandler = null, array $options = array(), LoggerInterface $logger = null, EventDispatcherInterface $eventDispatcher = null, PropertyAccessorInterface $propertyAccessor = null) | ||
| handle(GetResponseEvent $event) |
Details
__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, HttpUtils $httpUtils, string $providerKey, AuthenticationSuccessHandlerInterface $successHandler = null, AuthenticationFailureHandlerInterface $failureHandler = null, array $options = array(), LoggerInterface $logger = null, EventDispatcherInterface $eventDispatcher = null, PropertyAccessorInterface $propertyAccessor = null)
Parameters
| TokenStorageInterface | $tokenStorage | |
| AuthenticationManagerInterface | $authenticationManager | |
| HttpUtils | $httpUtils | |
| string | $providerKey | |
| AuthenticationSuccessHandlerInterface | $successHandler | |
| AuthenticationFailureHandlerInterface | $failureHandler | |
| array | $options | |
| LoggerInterface | $logger | |
| EventDispatcherInterface | $eventDispatcher | |
| PropertyAccessorInterface | $propertyAccessor |
handle(GetResponseEvent $event)
Parameters
| GetResponseEvent | $event |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Security/Http/Firewall/UsernamePasswordJsonAuthenticationListener.html