summaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Token/IWipeableToken.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-07-03 09:44:37 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2019-07-09 13:39:27 +0200
commit1c261675ad3da9804bd9a8c88326103eb2f56bd3 (patch)
treebb8dfba33103e10ca51eef1519dc25c46ec55cd3 /lib/private/Authentication/Token/IWipeableToken.php
parent22de685f546474890ff43bc7d68754afe9fbd6f1 (diff)
downloadnextcloud-server-1c261675ad3da9804bd9a8c88326103eb2f56bd3.tar.gz
nextcloud-server-1c261675ad3da9804bd9a8c88326103eb2f56bd3.zip
Refactor: move remote wipe token logic to RW service
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Authentication/Token/IWipeableToken.php')
-rw-r--r--lib/private/Authentication/Token/IWipeableToken.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/private/Authentication/Token/IWipeableToken.php b/lib/private/Authentication/Token/IWipeableToken.php
index 8d4d3a60781..f0777bf4a24 100644
--- a/lib/private/Authentication/Token/IWipeableToken.php
+++ b/lib/private/Authentication/Token/IWipeableToken.php
@@ -24,6 +24,11 @@ declare(strict_types=1);
namespace OC\Authentication\Token;
-interface IWipeableToken {
+interface IWipeableToken extends IToken {
+
+ /**
+ * Mark the token for remote wipe
+ */
public function wipe(): void;
+
}