vendor/symfony/src/Symfony/Component/Security/Http/Event/InteractiveLoginEvent.php
equal
deleted
inserted
replaced
|
1 <?php |
|
2 |
|
3 /* |
|
4 * This file is part of the Symfony package. |
|
5 * |
|
6 * (c) Fabien Potencier <fabien@symfony.com> |
|
7 * |
|
8 * For the full copyright and license information, please view the LICENSE |
|
9 * file that was distributed with this source code. |
|
10 */ |
|
11 |
|
12 namespace Symfony\Component\Security\Http\Event; |
|
13 |
|
14 use Symfony\Component\HttpFoundation\Request; |
|
15 use Symfony\Component\EventDispatcher\Event; |
|
16 use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
|
17 |
|
18 class InteractiveLoginEvent extends Event |
|
19 { |
|
20 private $request; |
|
21 |
|
22 private $authenticationToken; |
|
23 |
|
24 public function __construct(Request $request, TokenInterface $authenticationToken) |
|
25 { |
|
26 $this->request = $request; |
|
27 $this->authenticationToken = $authenticationToken; |
|
28 } |
|
29 |
|
30 public function getRequest() |
|
31 { |
|
32 return $this->request; |
|
33 } |
|
34 |
|
35 public function getAuthenticationToken() |
|
36 { |
|
37 return $this->authenticationToken; |
|
38 } |
|
39 } |