class CsrfTokenClearingLogoutHandler implements LogoutHandlerInterface

Methods

__construct(ClearableTokenStorageInterface $csrfTokenStorage)

No description

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.

Details

at line 26
__construct(ClearableTokenStorageInterface $csrfTokenStorage)

Parameters

ClearableTokenStorageInterface $csrfTokenStorage

at line 31
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.

Parameters

Request $request
Response $response
TokenInterface $token