From 598ae9d050a8010cc67008eec8a39989e429f00e Mon Sep 17 00:00:00 2001 From: Fran Moreno Date: Mon, 21 Jan 2013 09:57:59 +0100 Subject: [PATCH] [Security] PHPDoc in SecurityEvents --- .../Component/Security/Http/SecurityEvents.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/Symfony/Component/Security/Http/SecurityEvents.php b/src/Symfony/Component/Security/Http/SecurityEvents.php index a6c4e42fc9..45fae293b3 100644 --- a/src/Symfony/Component/Security/Http/SecurityEvents.php +++ b/src/Symfony/Component/Security/Http/SecurityEvents.php @@ -13,7 +13,25 @@ namespace Symfony\Component\Security\Http; final class SecurityEvents { + /** + * The INTERACTIVE_LOGIN event occurs after a user is logged in + * interactively for authentication based on http, cookies or X509. + * + * The event listener method receives a + * Symfony\Component\Security\Http\Event\InteractiveLoginEvent instance. + * + * @var string + */ const INTERACTIVE_LOGIN = 'security.interactive_login'; + /** + * The SWITCH_USER event occurs before switch to another user and + * before exit from an already switched user. + * + * The event listener method receives a + * Symfony\Component\Security\Http\Event\SwitchUserEvent instance. + * + * @var string + */ const SWITCH_USER = 'security.switch_user'; }