SSO #1

Merged
Charles-Edouard merged 23 commits from SSO into main 2025-07-29 16:46:46 +02:00
1 changed files with 0 additions and 25 deletions
Showing only changes of commit 903013e306 - Show all commits

View File

@ -1,25 +0,0 @@
<?php
namespace App\EventSubscriber;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class LogoutSubscriber implements EventSubscriberInterface
{
public static function getSubscribedEvents(): array
{
return [
'kernel.response' => 'onKernelResponse',
];
}
public function onKernelResponse($event): void
{
// // This method can be used to perform actions after a logout response is sent.
// // For example, you could log the logout event or clear session data.
//
//// Example: Log the logout event
// $logger = $this->container->get('logger');
// $logger->info('User logged out successfully.');
}
}