8000 [Security] PHPDoc in SecurityEvents · weaverryan/symfony@598ae9d · GitHub
[go: up one dir, main page]

Skip to content

Commit 598ae9d

Browse files
franmomufabpot
authored andcommitted
[Security] PHPDoc in SecurityEvents
1 parent eb3eaf6 commit 598ae9d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/Symfony/Component/Security/Http/SecurityEvents.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,25 @@
1313

1414
final class SecurityEvents
1515
{
16+
/**
17+
* The INTERACTIVE_LOGIN event occurs after a user is logged in
18+
* interactively for authentication based on http, cookies or X509.
19+
*
20+
* The event listener method receives a
21+
* Symfony\Component\Security\Http\Event\InteractiveLoginEvent instance.
22+
*
23+
* @var string
24+
*/
1625
const INTERACTIVE_LOGIN = 'security.interactive_login';
1726

27+
/**
28+
* The SWITCH_USER event occurs before switch to another user and
29+
* before exit from an already switched user.
30+
*
31+
* The event listener method receives a
32+
* Symfony\Component\Security\Http\Event\SwitchUserEvent instance.
33+
*
34+
* @var string
35+
*/
1836
const SWITCH_USER = 'security.switch_user';
1937
}

0 commit comments

Comments
 (0)
0