From 8fc39aeb1ccc36f6f95d7b7968bdaf434af413ca Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Mon, 8 Jan 2024 18:01:23 +0100 Subject: Use IToken from OCP instead of OC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/private/Authentication/Token/IProvider.php | 1 + lib/private/Authentication/Token/Manager.php | 1 + lib/private/Authentication/Token/PublicKeyTokenProvider.php | 1 + 3 files changed, 3 insertions(+) (limited to 'lib/private/Authentication') diff --git a/lib/private/Authentication/Token/IProvider.php b/lib/private/Authentication/Token/IProvider.php index b852f4e7e86..90103160ce2 100644 --- a/lib/private/Authentication/Token/IProvider.php +++ b/lib/private/Authentication/Token/IProvider.php @@ -33,6 +33,7 @@ use OC\Authentication\Exceptions\PasswordlessTokenException; use OCP\Authentication\Exceptions\ExpiredTokenException; use OCP\Authentication\Exceptions\InvalidTokenException; use OCP\Authentication\Exceptions\WipeTokenException; +use OCP\Authentication\Token\IToken; interface IProvider { /** diff --git a/lib/private/Authentication/Token/Manager.php b/lib/private/Authentication/Token/Manager.php index d84a81705ff..60e8d6372f1 100644 --- a/lib/private/Authentication/Token/Manager.php +++ b/lib/private/Authentication/Token/Manager.php @@ -34,6 +34,7 @@ use OCP\Authentication\Exceptions\ExpiredTokenException; use OCP\Authentication\Exceptions\InvalidTokenException; use OCP\Authentication\Exceptions\WipeTokenException; use OCP\Authentication\Token\IProvider as OCPIProvider; +use OCP\Authentication\Token\IToken; class Manager implements IProvider, OCPIProvider { /** @var PublicKeyTokenProvider */ diff --git a/lib/private/Authentication/Token/PublicKeyTokenProvider.php b/lib/private/Authentication/Token/PublicKeyTokenProvider.php index a88194726ae..07f615af2b5 100644 --- a/lib/private/Authentication/Token/PublicKeyTokenProvider.php +++ b/lib/private/Authentication/Token/PublicKeyTokenProvider.php @@ -37,6 +37,7 @@ use OC\Authentication\Exceptions\WipeTokenException; use OCP\AppFramework\Db\DoesNotExistException; use OCP\AppFramework\Db\TTransactional; use OCP\AppFramework\Utility\ITimeFactory; +use OCP\Authentication\Token\IToken; use OCP\Cache\CappedMemoryCache; use OCP\IConfig; use OCP\IDBConnection; -- cgit v1.2.3