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