UsernamePasswordFormAuthenticationListener
UsernamePasswordFormAuthenticationListener
class UsernamePasswordFormAuthenticationListener extends AbstractAuthenticationListener
UsernamePasswordFormAuthenticationListener is the default implementation of an authentication via a simple form composed of a username and a password.
Methods
__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, SessionAuthenticationStrategyInterface $sessionStrategy, HttpUtils $httpUtils, string $providerKey, AuthenticationSuccessHandlerInterface $successHandler, AuthenticationFailureHandlerInterface $failureHandler, array $options = array(), LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null, CsrfTokenManagerInterface $csrfTokenManager = null) Constructor. | ||
setRememberMeServices(RememberMeServicesInterface $rememberMeServices) Sets the RememberMeServices implementation to use. | from AbstractAuthenticationListener | |
handle(GetResponseEvent $event) Handles form based authentication. | from AbstractAuthenticationListener |
Details
__construct(TokenStorageInterface $tokenStorage, AuthenticationManagerInterface $authenticationManager, SessionAuthenticationStrategyInterface $sessionStrategy, HttpUtils $httpUtils, string $providerKey, AuthenticationSuccessHandlerInterface $successHandler, AuthenticationFailureHandlerInterface $failureHandler, array $options = array(), LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null, CsrfTokenManagerInterface $csrfTokenManager = null)
Constructor.
setRememberMeServices(RememberMeServicesInterface $rememberMeServices)
Sets the RememberMeServices implementation to use.
final handle(GetResponseEvent $event)
Handles form based authentication.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Security/Http/Firewall/UsernamePasswordFormAuthenticationListener.html