diff options
Diffstat (limited to 'Http/Logout')
-rw-r--r-- | Http/Logout/LogoutHandlerInterface.php | 2 | ||||
-rw-r--r-- | Http/Logout/LogoutSuccessHandlerInterface.php | 11 | ||||
-rw-r--r-- | Http/Logout/SessionLogoutHandler.php | 2 |
3 files changed, 12 insertions, 3 deletions
diff --git a/Http/Logout/LogoutHandlerInterface.php b/Http/Logout/LogoutHandlerInterface.php index e3f0995..6d5c519 100644 --- a/Http/Logout/LogoutHandlerInterface.php +++ b/Http/Logout/LogoutHandlerInterface.php @@ -33,4 +33,4 @@ interface LogoutHandlerInterface * @return void */ function logout(Request $request, Response $response, TokenInterface $token); -}
\ No newline at end of file +} diff --git a/Http/Logout/LogoutSuccessHandlerInterface.php b/Http/Logout/LogoutSuccessHandlerInterface.php index e3e80bc..5592771 100644 --- a/Http/Logout/LogoutSuccessHandlerInterface.php +++ b/Http/Logout/LogoutSuccessHandlerInterface.php @@ -1,5 +1,14 @@ <?php +/* + * This file is part of the Symfony framework. + * + * (c) Fabien Potencier <fabien@symfony.com> + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Symfony\Component\Security\Http\Logout; use Symfony\Component\HttpFoundation\Request; @@ -25,4 +34,4 @@ interface LogoutSuccessHandlerInterface * @return Response never null */ function onLogoutSuccess(Request $request); -}
\ No newline at end of file +} diff --git a/Http/Logout/SessionLogoutHandler.php b/Http/Logout/SessionLogoutHandler.php index bfb5ecd..9fd49d1 100644 --- a/Http/Logout/SessionLogoutHandler.php +++ b/Http/Logout/SessionLogoutHandler.php @@ -34,4 +34,4 @@ class SessionLogoutHandler implements LogoutHandlerInterface { $request->getSession()->invalidate(); } -}
\ No newline at end of file +} |