Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener
UsernamePasswordFormAuthenticationListener is the default implementation of an authentication via a simple form composed of a username and a password.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class UsernamePasswordFormAuthenticationListener
extends AbstractAuthenticationListener
{
- // members
- private $csrfProvider;
- // Inherited members from AbstractAuthenticationListener
- protected $options;
- protected $logger;
- protected $authenticationManager;
- protected $providerKey;
- protected $httpUtils;
- // methods
- public void __construct()
- protected void requiresAuthentication()
- protected void attemptAuthentication()
- // Inherited methods from AbstractAuthenticationListener
- public void __construct()
- public void setRememberMeServices()
- public final void handle()
- protected Boolean requiresAuthentication()
- protected abstract TokenInterface|Response|null attemptAuthentication()
Hierarchy
Members
private
- $csrfProvider
protected
- $authenticationManager
- $httpUtils
- $logger
- $options
- $providerKey
Methods
protected
- attemptAuthentication() — {@inheritdoc}
- requiresAuthentication() — {@inheritdoc}
Inherited from Symfony\Component\Security\Http\Firewall\AbstractAuthenticationListener
protected
- attemptAuthentication() — Performs authentication.
- requiresAuthentication() — Whether this request requires authentication.
public
- handle() — Handles form based authentication.
- setRememberMeServices() — Sets the RememberMeServices implementation to use