summaryrefslogtreecommitdiffstats
path: root/Http
diff options
context:
space:
mode:
authorJohannes M. Schmitt <schmittjoh@gmail.com>2011-03-21 09:18:55 +0100
committerJohannes M. Schmitt <schmittjoh@gmail.com>2011-03-21 09:18:55 +0100
commit38bf447e791f4bdc881c552eee586a60362e25d8 (patch)
tree72448b1d44752c18d779283f7426e85997f18908 /Http
parent428597101add30424b08946987e56143744baeeb (diff)
parent1cbdf86519e49b8d9b63ed6cbb3a64c04a8b8b12 (diff)
downloadsymfony-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.php3
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;