LogoutHandlerInterface

interface LogoutHandlerInterface

Interface that needs to be implemented by LogoutHandlers.

Methods

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

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
doc_Symfony
2016-10-28 06:23:10
Comments
Leave a Comment

Please login to continue.