aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Token/IWipeableToken.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Authentication/Token/IWipeableToken.php')
-rw-r--r--lib/private/Authentication/Token/IWipeableToken.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/private/Authentication/Token/IWipeableToken.php b/lib/private/Authentication/Token/IWipeableToken.php
new file mode 100644
index 00000000000..fc1476785cd
--- /dev/null
+++ b/lib/private/Authentication/Token/IWipeableToken.php
@@ -0,0 +1,16 @@
+<?php
+
+declare(strict_types=1);
+
+/**
+ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+namespace OC\Authentication\Token;
+
+interface IWipeableToken extends IToken {
+ /**
+ * Mark the token for remote wipe
+ */
+ public function wipe(): void;
+}