LogoutHandlerInterface
in
Interface that needs to be implemented by LogoutHandlers.
Tags
Table of Contents
- logout() : mixed
- 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.
Methods
logout()
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.
public
logout(Request $request, Response $response, TokenInterface $token) : mixed
Parameters
- $request : Request
- $response : Response
- $token : TokenInterface