diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-10-23 10:18:20 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-10-23 10:26:25 +0200 |
commit | b82e25ea7a13e98212201a905718309a3d1415ae (patch) | |
tree | 32bfc59d37d8ef9c6f670dd4528e268d127796e7 /lib/private/Authentication/Exceptions/ExpiredTokenException.php | |
parent | 16b9373b82ccfe9a0982f4678c16a19298014e27 (diff) | |
download | nextcloud-server-b82e25ea7a13e98212201a905718309a3d1415ae.tar.gz nextcloud-server-b82e25ea7a13e98212201a905718309a3d1415ae.zip |
Move Exceptions used in OCP to OCP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Authentication/Exceptions/ExpiredTokenException.php')
-rw-r--r-- | lib/private/Authentication/Exceptions/ExpiredTokenException.php | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/lib/private/Authentication/Exceptions/ExpiredTokenException.php b/lib/private/Authentication/Exceptions/ExpiredTokenException.php index 0dc92b45920..c23a1176fae 100644 --- a/lib/private/Authentication/Exceptions/ExpiredTokenException.php +++ b/lib/private/Authentication/Exceptions/ExpiredTokenException.php @@ -25,19 +25,8 @@ declare(strict_types=1); */ namespace OC\Authentication\Exceptions; -use OC\Authentication\Token\IToken; - -class ExpiredTokenException extends InvalidTokenException { - /** @var IToken */ - private $token; - - public function __construct(IToken $token) { - parent::__construct(); - - $this->token = $token; - } - - public function getToken(): IToken { - return $this->token; - } +/** + * @deprecated 28.0.0 use OCP version instead + */ +class ExpiredTokenException extends \OCP\Authentication\Exceptions\ExpiredTokenException { } |