summaryrefslogtreecommitdiffstats
path: root/Authentication/Token/TokenInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'Authentication/Token/TokenInterface.php')
-rw-r--r--Authentication/Token/TokenInterface.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/Authentication/Token/TokenInterface.php b/Authentication/Token/TokenInterface.php
index 9dcc820..01753cf 100644
--- a/Authentication/Token/TokenInterface.php
+++ b/Authentication/Token/TokenInterface.php
@@ -66,4 +66,9 @@ interface TokenInterface extends \Serializable
* @param Boolean $isAuthenticated The authenticated flag
*/
function setAuthenticated($isAuthenticated);
+
+ /**
+ * Removes sensitive information from the token.
+ */
+ function eraseCredentials();
}