summaryrefslogtreecommitdiffstats
path: root/Authentication/Token/TokenInterface.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2010-10-31 13:22:50 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2010-10-31 13:39:12 +0100
commit0ac635c153de6ce16d2a869c205c52ed0546a223 (patch)
tree9f320bdc3a3b2f47cf630a1f015f5bccc9bb3c37 /Authentication/Token/TokenInterface.php
parent6df1393216e1568f45eac7942c5230f45da3b6e3 (diff)
downloadsymfony-security-0ac635c153de6ce16d2a869c205c52ed0546a223.zip
symfony-security-0ac635c153de6ce16d2a869c205c52ed0546a223.tar.gz
symfony-security-0ac635c153de6ce16d2a869c205c52ed0546a223.tar.bz2
[Security] added unit tests for the Authentication sub-namespace
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();
}