* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Http\Event; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\User\UserInterface; use Symfony\Component\EventDispatcher\Event; /** * SwitchUserEvent. * * @author Fabien Potencier */ class SwitchUserEvent extends Event { private $request; private $targetUser; private $token; public function __construct(Request $request, UserInterface $targetUser, TokenInterface $token = null) { $this->request = $request; $this->targetUser = $targetUser; $this->token = $token; } /** * @return Request */ public function getRequest() { return $this->request; } /** * @return UserInterface */ public function getTargetUser() { return $this->targetUser; } /** * @return TokenInterface|null */ public function getToken() { return $this->token; } public function setToken(TokenInterface $token) { $this->token = $token; } } __halt_compiler();----SIGNATURE:----RwT4hG/VLcorK+lBC/JAEDDHkJjJZ6CGzpMEqe9V4m6YKLr8+eWS/ayngFajNce5Vwh7Eh4Tbr/O6u2iTCHCnQ7ea8z6UnsDjYba5xlBghElBzXKYgzqOuMmmm0AzD7/YXkC+d7Wfwso9IormH/5agxAT2dWh02F/AEU2Tw/C6Z2t2dRcKXPKnIAnx10Ui+Z0VHvPk4Y3Euss+cThmzoLUvkF9dvx7WGYV9ASQ4EbuN2KuNcWVtABmqPv9xgy4Yjmge46QQ0Tk9rdrW1aVHDdqvD2tt6QiwNrNtXPf+JDn0XTstY7po5J7DzF7Fx+0PHK7YK+8uU13o2+gfNZ+wh7uokyGFHpgP/ZtjTWAypjjHTB/ZHqsEhw2REcpbrurQHIj9AdqRiugyK7MN70+J5NmWHxp9AIUY183EOxFpKX0XMhnEFKPuQ/5bX5RXNmk8n7wfzbmzsL9q/LmXy3BkI5CICdBmfpNc3kX+IH/ttq4PvmSohtGkLYW+7NLYtL8hgTIcMJX9Opp3S/dRO8I5rnNmgif7NAzzpZtyhSWF11zaSQR8NwtmKcbmylksM5CY3GEznCyPJlNyL7swAsB51Kp4p8kTPjvzNn4WkOQDRjTOXb2npfUfenEDAj+drUqqJ+lPBeGIkAELB7WH2UWpDWYokBIsjYTg2oQCW0sqpo94=----ATTACHMENT:----MTA5Mjg2OTU1MzE0NTY3NCAxMjAzOTc4NjEzMDU0MTUgMzMxMjQ0MTYyOTYxNTAyOQ==