PHP Класс Symfony\Component\HttpKernel\Security\Firewall\PreAuthenticatedListener

Автор: Fabien Potencier ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$authenticationManager
$logger
$securityContext

Открытые методы

Метод Описание
__construct ( Symfony\Component\Security\SecurityContext $securityContext, Symfony\Component\Security\Authentication\AuthenticationManagerInterface $authenticationManager, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
handle ( Symfony\Component\EventDispatcher\Event $event ) Handles X509 authentication.
register ( EventDispatcher $dispatcher, integer $priority )

Защищенные методы

Метод Описание
getPreAuthenticatedData ( Request $request ) : array Gets the user and credentials from the Request.

Описание методов

__construct() публичный Метод

public __construct ( Symfony\Component\Security\SecurityContext $securityContext, Symfony\Component\Security\Authentication\AuthenticationManagerInterface $authenticationManager, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null )
$securityContext Symfony\Component\Security\SecurityContext
$authenticationManager Symfony\Component\Security\Authentication\AuthenticationManagerInterface
$logger Symfony\Component\HttpKernel\Log\LoggerInterface

getPreAuthenticatedData() абстрактный защищенный Метод

Gets the user and credentials from the Request.
abstract protected getPreAuthenticatedData ( Request $request ) : array
$request Symfony\Component\HttpFoundation\Request A Request instance
Результат array An array composed of the user and the credentials

handle() публичный Метод

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

register() публичный Метод

public register ( EventDispatcher $dispatcher, integer $priority )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcher An EventDispatcher instance
$priority integer The priority

Описание свойств

$authenticationManager защищенное свойство

protected $authenticationManager

$logger защищенное свойство

protected $logger

$securityContext защищенное свойство

protected $securityContext