class CookieClearingLogoutHandler implements LogoutHandlerInterface
This handler clears the passed cookies when a user logs out.
__construct(array $cookies) | ||
logout(Request $request, Response $response, TokenInterface $token) Implementation for the LogoutHandlerInterface. Deletes all requested cookies. |
array | $cookies | An array of cookie names to unset |
Implementation for the LogoutHandlerInterface. Deletes all requested cookies.
Request | $request | |
Response | $response | |
TokenInterface | $token |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Http/Logout/CookieClearingLogoutHandler.html