class LogoutListener implements ListenerInterface
LogoutListener logout users.
Methods
|
__construct(SecurityContextInterface $securityContext, HttpUtils $httpUtils, string $logoutPath, string $targetUrl = '/', LogoutSuccessHandlerInterface $successHandler = null)
Constructor |
||
| void |
addHandler(LogoutHandlerInterface $handler)
Adds a logout handler |
|
|
handle(GetResponseEvent $event)
This interface must be implemented by firewall listeners. |
Details
at line 45
public
__construct(SecurityContextInterface $securityContext, HttpUtils $httpUtils, string $logoutPath, string $targetUrl = '/', LogoutSuccessHandlerInterface $successHandler = null)
Constructor
at line 62
public void
addHandler(LogoutHandlerInterface $handler)
Adds a logout handler
at line 72
public
handle(GetResponseEvent $event)
This interface must be implemented by firewall listeners.