mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
Use IToken from OCP instead of OC
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
95ea6188dc
commit
8fc39aeb1c
4 changed files with 4 additions and 1 deletions
|
|
@ -36,7 +36,6 @@ use OC\Authentication\Exceptions\InvalidTokenException as OcInvalidTokenExceptio
|
|||
use OC\Authentication\Exceptions\PasswordlessTokenException;
|
||||
use OC\Authentication\Token\INamedToken;
|
||||
use OC\Authentication\Token\IProvider;
|
||||
use OC\Authentication\Token\IToken;
|
||||
use OC\Authentication\Token\RemoteWipe;
|
||||
use OCA\Settings\Activity\Provider;
|
||||
use OCP\Activity\IManager;
|
||||
|
|
@ -46,6 +45,7 @@ use OCP\AppFramework\Http\JSONResponse;
|
|||
use OCP\Authentication\Exceptions\ExpiredTokenException;
|
||||
use OCP\Authentication\Exceptions\InvalidTokenException;
|
||||
use OCP\Authentication\Exceptions\WipeTokenException;
|
||||
use OCP\Authentication\Token\IToken;
|
||||
use OCP\IRequest;
|
||||
use OCP\ISession;
|
||||
use OCP\IUserSession;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue