PHP Class Symfony\Component\HttpKernel\Security\Firewall\AnonymousAuthenticationListener

Author: Fabien Potencier ([email protected])
Show file Open project: pmjones/php-framework-benchmarks

Protected Properties

Property Type Description
$context
$key
$logger

Public Methods

Method Description
__construct ( Symfony\Component\Security\SecurityContext $context, $key, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
handle ( Symfony\Component\EventDispatcher\Event $event ) Handles anonymous authentication.
register ( EventDispatcher $dispatcher, integer $priority ) Registers a core.security listener to load the SecurityContext from the session.

Method Details

__construct() public method

public __construct ( Symfony\Component\Security\SecurityContext $context, $key, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
$context Symfony\Component\Security\SecurityContext
$logger Symfony\Component\HttpKernel\Log\LoggerInterface

handle() public method

Handles anonymous authentication.
public handle ( Symfony\Component\EventDispatcher\Event $event )
$event Symfony\Component\EventDispatcher\Event An Event instance

register() public method

Registers a core.security listener to load the SecurityContext from the session.
public register ( EventDispatcher $dispatcher, integer $priority )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcher An EventDispatcher instance
$priority integer The priority

Property Details

$context protected property

protected $context

$key protected property

protected $key

$logger protected property

protected $logger