summaryrefslogtreecommitdiffstats
path: root/Http/Event
diff options
context:
space:
mode:
Diffstat (limited to 'Http/Event')
-rw-r--r--Http/Event/InteractiveLoginEvent.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/Http/Event/InteractiveLoginEvent.php b/Http/Event/InteractiveLoginEvent.php
index f242501..2225d92 100644
--- a/Http/Event/InteractiveLoginEvent.php
+++ b/Http/Event/InteractiveLoginEvent.php
@@ -21,17 +21,33 @@ class InteractiveLoginEvent extends Event
private $authenticationToken;
+ /**
+ * Constructor.
+ *
+ * @param Request $request A Request instance
+ * @param TokenInterface $authenticationToken A TokenInterface instance
+ */
public function __construct(Request $request, TokenInterface $authenticationToken)
{
$this->request = $request;
$this->authenticationToken = $authenticationToken;
}
+ /**
+ * Gets the request.
+ *
+ * @return Request A Request instance
+ */
public function getRequest()
{
return $this->request;
}
+ /**
+ * Gets the authentication token.
+ *
+ * @return TokenInterface A TokenInterface instance
+ */
public function getAuthenticationToken()
{
return $this->authenticationToken;