diff options
author | Johannes M. Schmitt <schmittjoh@gmail.com> | 2011-03-21 09:18:55 +0100 |
---|---|---|
committer | Johannes M. Schmitt <schmittjoh@gmail.com> | 2011-03-21 09:18:55 +0100 |
commit | 38bf447e791f4bdc881c552eee586a60362e25d8 (patch) | |
tree | 72448b1d44752c18d779283f7426e85997f18908 /Http | |
parent | 428597101add30424b08946987e56143744baeeb (diff) | |
parent | 1cbdf86519e49b8d9b63ed6cbb3a64c04a8b8b12 (diff) | |
download | symfony-security-38bf447e791f4bdc881c552eee586a60362e25d8.zip symfony-security-38bf447e791f4bdc881c552eee586a60362e25d8.tar.gz symfony-security-38bf447e791f4bdc881c552eee586a60362e25d8.tar.bz2 |
Merge branch 'interactive-login-event' of git://github.com/yethee/symfony into security
Diffstat (limited to 'Http')
-rw-r--r-- | Http/Event/InteractiveLoginEvent.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Http/Event/InteractiveLoginEvent.php b/Http/Event/InteractiveLoginEvent.php index 8331bf0..1d16cb6 100644 --- a/Http/Event/InteractiveLoginEvent.php +++ b/Http/Event/InteractiveLoginEvent.php @@ -13,6 +13,7 @@ namespace Symfony\Component\Security\Http\Event; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\EventDispatcher\Event; +use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; class InteractiveLoginEvent extends Event { @@ -20,7 +21,7 @@ class InteractiveLoginEvent extends Event private $authenticationToken; - public function __construct(Request $request, $authenticationToken) + public function __construct(Request $request, TokenInterface $authenticationToken) { $this->request = $request; $this->authenticationToken = $authenticationToken; |