aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Security/VerificationToken/IVerificationToken.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Security/VerificationToken/IVerificationToken.php')
-rw-r--r--lib/public/Security/VerificationToken/IVerificationToken.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/Security/VerificationToken/IVerificationToken.php b/lib/public/Security/VerificationToken/IVerificationToken.php
index c5f19e5de7f..e1d9203ec3b 100644
--- a/lib/public/Security/VerificationToken/IVerificationToken.php
+++ b/lib/public/Security/VerificationToken/IVerificationToken.php
@@ -52,4 +52,11 @@ interface IVerificationToken {
* @since 23.0.0
*/
public function create(IUser $user, string $subject, string $passwordPrefix = ''): string;
+
+ /**
+ * Deletes the token identified by the provided parameters
+ *
+ * @since 23.0.0
+ */
+ public function delete(string $token, IUser $user, string $subject): void;
}