Http\Firewall\ChannelListener (Component\Security)

Symfony\Component\Security\Http\Firewall\ChannelListener

class ChannelListener implements ListenerInterface

ChannelListener switches the HTTP protocol based on the access control configuration.

Methods

__construct(AccessMapInterface $map, AuthenticationEntryPointInterface $authenticationEntryPoint, LoggerInterface $logger = null)
handle(GetResponseEvent $event)

Handles channel management.

Details

public __construct(AccessMapInterface $map, AuthenticationEntryPointInterface $authenticationEntryPoint, LoggerInterface $logger = null)

Parameters

AccessMapInterface $map
AuthenticationEntryPointInterface $authenticationEntryPoint
LoggerInterface $logger

public handle(GetResponseEvent $event)

Handles channel management.

Parameters

GetResponseEvent $event A GetResponseEvent instance

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Security/Http/Firewall/ChannelListener.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部