Symfony2 API
Class

Symfony\Component\Security\Http\Firewall\BasicAuthenticationListener

class BasicAuthenticationListener implements ListenerInterface

BasicAuthenticationListener implements Basic HTTP authentication.

Methods

__construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, $providerKey, AuthenticationEntryPointInterface $authenticationEntryPoint, LoggerInterface $logger = null)

handle(GetResponseEvent $event)

This interface must be implemented by firewall listeners.

Details

at line 36
public __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, $providerKey, AuthenticationEntryPointInterface $authenticationEntryPoint, LoggerInterface $logger = null)

Parameters

SecurityContextInterface $securityContext
AuthenticationManagerInterface $authenticationManager
$providerKey
AuthenticationEntryPointInterface $authenticationEntryPoint
LoggerInterface $logger

at line 55
public handle(GetResponseEvent $event)

This interface must be implemented by firewall listeners.

Parameters

GetResponseEvent $event A GetResponseEvent instance