diff options
author | yemkareems <yemkareems@gmail.com> | 2024-10-28 15:49:05 +0530 |
---|---|---|
committer | yemkareems <yemkareems@gmail.com> | 2024-10-28 15:49:05 +0530 |
commit | 79b11227495dda19e838a418641f95c658c4d241 (patch) | |
tree | b67576a7b3e274038eefa4736bd26e43edc93b9d /lib/private/Authentication | |
parent | a74ef8237da49b75a930ca335713eef0347c9d51 (diff) | |
download | nextcloud-server-79b11227495dda19e838a418641f95c658c4d241.tar.gz nextcloud-server-79b11227495dda19e838a418641f95c658c4d241.zip |
fix: use Icrypto in place of Cypto
Signed-off-by: yemkareems <yemkareems@gmail.com>
Diffstat (limited to 'lib/private/Authentication')
-rw-r--r-- | lib/private/Authentication/LoginCredentials/Store.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Authentication/LoginCredentials/Store.php b/lib/private/Authentication/LoginCredentials/Store.php index 210d1cc6463..927c1c29f63 100644 --- a/lib/private/Authentication/LoginCredentials/Store.php +++ b/lib/private/Authentication/LoginCredentials/Store.php @@ -10,12 +10,12 @@ namespace OC\Authentication\LoginCredentials; use OC\Authentication\Exceptions\PasswordlessTokenException; use OC\Authentication\Token\IProvider; -use OC\Security\Crypto; use OCP\Authentication\Exceptions\CredentialsUnavailableException; use OCP\Authentication\Exceptions\InvalidTokenException; use OCP\Authentication\LoginCredentials\ICredentials; use OCP\Authentication\LoginCredentials\IStore; use OCP\ISession; +use OCP\Security\ICrypto; use OCP\Session\Exceptions\SessionNotAvailableException; use OCP\Util; use Psr\Log\LoggerInterface; @@ -30,12 +30,12 @@ class Store implements IStore { /** @var IProvider|null */ private $tokenProvider; - /** @var Crypto */ + /** @var ICrypto */ private $crypto; public function __construct(ISession $session, LoggerInterface $logger, - Crypto $crypto, + ICrypto $crypto, ?IProvider $tokenProvider = null) { $this->session = $session; $this->logger = $logger; |