summaryrefslogtreecommitdiffstats
path: root/Core/Authentication/RememberMe/PersistentTokenInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Authentication/RememberMe/PersistentTokenInterface.php')
-rw-r--r--Core/Authentication/RememberMe/PersistentTokenInterface.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/Core/Authentication/RememberMe/PersistentTokenInterface.php b/Core/Authentication/RememberMe/PersistentTokenInterface.php
index fe1db51..004a9b7 100644
--- a/Core/Authentication/RememberMe/PersistentTokenInterface.php
+++ b/Core/Authentication/RememberMe/PersistentTokenInterface.php
@@ -20,6 +20,12 @@ namespace Symfony\Component\Security\Core\Authentication\RememberMe;
interface PersistentTokenInterface
{
/**
+ * Returns the class of the user
+ * @return string
+ */
+ function getClass();
+
+ /**
* Returns the username
* @return string
*/
@@ -42,4 +48,4 @@ interface PersistentTokenInterface
* @return \DateTime
*/
function getLastUsed();
-} \ No newline at end of file
+}