aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Token/DefaultTokenProvider.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-12 17:14:25 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-10-12 22:07:04 +0200
commit49ff48fcd3f07c229a0439748cb1469e5d11c504 (patch)
treeb6fb0e531e0b36920700124040056b92882263ae /lib/private/Authentication/Token/DefaultTokenProvider.php
parentdeb499d34e7e4760db22d250b4cb1449e981d98c (diff)
downloadnextcloud-server-49ff48fcd3f07c229a0439748cb1469e5d11c504.tar.gz
nextcloud-server-49ff48fcd3f07c229a0439748cb1469e5d11c504.zip
Use PSR logger in authentication
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Authentication/Token/DefaultTokenProvider.php')
-rw-r--r--lib/private/Authentication/Token/DefaultTokenProvider.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Authentication/Token/DefaultTokenProvider.php b/lib/private/Authentication/Token/DefaultTokenProvider.php
index ee8a28d3cb0..a6a1af5a97a 100644
--- a/lib/private/Authentication/Token/DefaultTokenProvider.php
+++ b/lib/private/Authentication/Token/DefaultTokenProvider.php
@@ -39,8 +39,8 @@ use OC\Authentication\Exceptions\PasswordlessTokenException;
use OCP\AppFramework\Db\DoesNotExistException;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\IConfig;
-use OCP\ILogger;
use OCP\Security\ICrypto;
+use Psr\Log\LoggerInterface;
class DefaultTokenProvider implements IProvider {
@@ -53,7 +53,7 @@ class DefaultTokenProvider implements IProvider {
/** @var IConfig */
private $config;
- /** @var ILogger */
+ /** @var LoggerInterface */
private $logger;
/** @var ITimeFactory */
@@ -62,7 +62,7 @@ class DefaultTokenProvider implements IProvider {
public function __construct(DefaultTokenMapper $mapper,
ICrypto $crypto,
IConfig $config,
- ILogger $logger,
+ LoggerInterface $logger,
ITimeFactory $time) {
$this->mapper = $mapper;
$this->crypto = $crypto;