8000 [Security] Added PHPDoc to AuthenticationEvents by franmomu · Pull Request #6831 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Security] Added PHPDoc to AuthenticationEvents #6831

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[Security] Add PHPDoc to AuthenticationEvents
  • Loading branch information
franmomu committed Jan 22, 2013
commit e7624b6b837f93ef579badf18dfc7c753f7bcf15
19 changes: 19 additions & 0 deletions src/Symfony/Component/Security/Core/AuthenticationEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,26 @@

final class AuthenticationEvents
{
/**
* The AUTHENTICATION_SUCCESS event occurs after a user is authenticated
* by one provider.
*
* The event listener method receives a
* Symfony\Component\Security\Core\Event\AuthenticationEvent instance.
*
* @var string
*/
const AUTHENTICATION_SUCCESS = 'security.authentication.success';

/**
* The AUTHENTICATION_FAILURE event occurs after a user cannot be
* authenticated by any of the providers.
*
* The event listener method receives a
* Symfony\Component\Security\Core\Event\AuthenticationFailureEvent
* instance.
*
* @var string
*/
const AUTHENTICATION_FAILURE = 'security.authentication.failure';
}
0