diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-01-08 18:01:23 +0100 |
---|---|---|
committer | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2024-01-11 14:02:15 +0100 |
commit | 8fc39aeb1ccc36f6f95d7b7968bdaf434af413ca (patch) | |
tree | c41e8801748acef97a953b21175dbab0988cff85 /lib/private/Authentication | |
parent | 95ea6188dc43aaccd648a9bcdd1a3de77e4233c9 (diff) | |
download | nextcloud-server-8fc39aeb1ccc36f6f95d7b7968bdaf434af413ca.tar.gz nextcloud-server-8fc39aeb1ccc36f6f95d7b7968bdaf434af413ca.zip |
Use IToken from OCP instead of OC
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Authentication')
-rw-r--r-- | lib/private/Authentication/Token/IProvider.php | 1 | ||||
-rw-r--r-- | lib/private/Authentication/Token/Manager.php | 1 | ||||
-rw-r--r-- | lib/private/Authentication/Token/PublicKeyTokenProvider.php | 1 |
3 files changed, 3 insertions, 0 deletions
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; |