8000 merged branch franmomu/added_phpdoc_security_events (PR #6818) · weaverryan/symfony@5663820 · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit 5663820

Browse files
committed
merged branch franmomu/added_phpdoc_security_events (PR symfony#6818)
This PR was squashed before being merged into the 2.0 branch (closes symfony#6818). Commits ------- 598ae9d [Security] PHPDoc in SecurityEvents Discussion ---------- [Security] PHPDoc in SecurityEvents | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | I'm not sure about the description given.
2 parents b9963ea + 598ae9d commit 5663820

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