From b82e25ea7a13e98212201a905718309a3d1415ae Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Mon, 23 Oct 2023 10:18:20 +0200 Subject: Move Exceptions used in OCP to OCP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- .../Exceptions/ExpiredTokenException.php | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'lib/private/Authentication/Exceptions/ExpiredTokenException.php') 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 { } -- cgit v1.2.3