Symfony\Component\Security\Http\Firewall\LogoutListener::handle
Performs the logout if requested
If a CsrfProviderInterface instance is available, it will be used to validate the request.
Signature
public function handle(GetResponseEvent
$event )
Parameters
$event
— Symfony\Component\HttpKernel\Event\GetResponseEvent- A GetResponseEvent instance
Errors/Exceptions
-
InvalidCsrfTokenException
- if the CSRF token is invalid
-
RuntimeException
- if the LogoutSuccessHandlerInterface instance does not return a response
-
LogoutException