summaryrefslogtreecommitdiffstats
path: root/Core/Authentication/Token/PreAuthenticatedToken.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Authentication/Token/PreAuthenticatedToken.php')
-rw-r--r--Core/Authentication/Token/PreAuthenticatedToken.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/Core/Authentication/Token/PreAuthenticatedToken.php b/Core/Authentication/Token/PreAuthenticatedToken.php
index ff0572f..abcd2bf 100644
--- a/Core/Authentication/Token/PreAuthenticatedToken.php
+++ b/Core/Authentication/Token/PreAuthenticatedToken.php
@@ -41,11 +41,19 @@ class PreAuthenticatedToken extends AbstractToken
}
}
+ /**
+ * Returns the provider key.
+ *
+ * @return string The provider key
+ */
public function getProviderKey()
{
return $this->providerKey;
}
+ /**
+ * {@inheritdoc}
+ */
public function getCredentials()
{
return $this->credentials;
@@ -61,11 +69,17 @@ class PreAuthenticatedToken extends AbstractToken
$this->credentials = null;
}
+ /**
+ * {@inheritdoc}
+ */
public function serialize()
{
return serialize(array($this->credentials, $this->providerKey, parent::serialize()));
}
+ /**
+ * {@inheritdoc}
+ */
public function unserialize($str)
{
list($this->credentials, $this->providerKey, $parentStr) = unserialize($str);