diff options
Diffstat (limited to 'lib/private/Authentication/Token/IProvider.php')
-rw-r--r-- | lib/private/Authentication/Token/IProvider.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Authentication/Token/IProvider.php b/lib/private/Authentication/Token/IProvider.php index 21223cecdf7..e4403196583 100644 --- a/lib/private/Authentication/Token/IProvider.php +++ b/lib/private/Authentication/Token/IProvider.php @@ -29,6 +29,7 @@ namespace OC\Authentication\Token; use OC\Authentication\Exceptions\ExpiredTokenException; use OC\Authentication\Exceptions\InvalidTokenException; use OC\Authentication\Exceptions\PasswordlessTokenException; +use OC\Authentication\Exceptions\WipeTokenException; interface IProvider { @@ -59,6 +60,7 @@ interface IProvider { * @param string $tokenId * @throws InvalidTokenException * @throws ExpiredTokenException + * @throws WipeTokenException * @return IToken */ public function getToken(string $tokenId): IToken; @@ -69,6 +71,7 @@ interface IProvider { * @param int $tokenId * @throws InvalidTokenException * @throws ExpiredTokenException + * @throws WipeTokenException * @return IToken */ public function getTokenById(int $tokenId): IToken; |