Свойство | Type | Description | |
---|---|---|---|
$accessDecisionManager | |||
$authManager | |||
$context | |||
$logger | |||
$map |
Méthode | Description | |
---|---|---|
__construct ( Symfony\Component\Security\SecurityContext $context, Symfony\Component\Security\Authorization\AccessDecisionManagerInterface $accessDecisionManager, Symfony\Component\HttpKernel\Security\AccessMap $map, Symfony\Component\Security\Authentication\AuthenticationManagerInterface $authManager, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null ) | ||
handle ( Symfony\Component\EventDispatcher\Event $event ) | Handles access authorization. | |
register ( |
Registers a core.security listener to enforce authorization rules. |
public __construct ( Symfony\Component\Security\SecurityContext $context, Symfony\Component\Security\Authorization\AccessDecisionManagerInterface $accessDecisionManager, Symfony\Component\HttpKernel\Security\AccessMap $map, Symfony\Component\Security\Authentication\AuthenticationManagerInterface $authManager, Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null ) | ||
$context | Symfony\Component\Security\SecurityContext | |
$accessDecisionManager | Symfony\Component\Security\Authorization\AccessDecisionManagerInterface | |
$map | Symfony\Component\HttpKernel\Security\AccessMap | |
$authManager | Symfony\Component\Security\Authentication\AuthenticationManagerInterface | |
$logger | Symfony\Component\HttpKernel\Log\LoggerInterface |
public handle ( Symfony\Component\EventDispatcher\Event $event ) | ||
$event | Symfony\Component\EventDispatcher\Event | An Event instance |