diff options
author | Joas Schilling <coding@schilljs.com> | 2020-10-12 17:14:25 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-10-12 22:07:04 +0200 |
commit | 49ff48fcd3f07c229a0439748cb1469e5d11c504 (patch) | |
tree | b6fb0e531e0b36920700124040056b92882263ae /lib/private/Authentication/Token/DefaultTokenProvider.php | |
parent | deb499d34e7e4760db22d250b4cb1449e981d98c (diff) | |
download | nextcloud-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.php | 6 |
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; |