class CsrfTokenClearingLogoutHandler implements LogoutHandlerInterface
__construct(ClearableTokenStorageInterface $csrfTokenStorage) | ||
logout(Request $request, Response $response, TokenInterface $token) This method is called by the LogoutListener when a user has requested to be logged out. Usually, you would unset session variables, or remove cookies, etc. |
ClearableTokenStorageInterface | $csrfTokenStorage |
This method is called by the LogoutListener when a user has requested to be logged out. Usually, you would unset session variables, or remove cookies, etc.
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/CsrfTokenClearingLogoutHandler.html