aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication/Login
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 11:45:08 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 11:45:08 +0100
commitf5c361cf44739058b79f322576a1bad2d8c142d9 (patch)
treea22217c6995751023112832d191d213e494e2fbc /lib/private/Authentication/Login
parent37bb33c5799b834dfef3fb73936bd0e5a4773fb8 (diff)
downloadnextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.tar.gz
nextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.zip
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Authentication/Login')
-rw-r--r--lib/private/Authentication/Login/ALoginCommand.php1
-rw-r--r--lib/private/Authentication/Login/Chain.php1
-rw-r--r--lib/private/Authentication/Login/ClearLostPasswordTokensCommand.php1
-rw-r--r--lib/private/Authentication/Login/CompleteLoginCommand.php1
-rw-r--r--lib/private/Authentication/Login/CreateSessionTokenCommand.php1
-rw-r--r--lib/private/Authentication/Login/EmailLoginCommand.php2
-rw-r--r--lib/private/Authentication/Login/FinishRememberedLoginCommand.php1
-rw-r--r--lib/private/Authentication/Login/LoggedInCheckCommand.php1
-rw-r--r--lib/private/Authentication/Login/LoginData.php1
-rw-r--r--lib/private/Authentication/Login/LoginResult.php1
-rw-r--r--lib/private/Authentication/Login/PreLoginHookCommand.php1
-rw-r--r--lib/private/Authentication/Login/SetUserTimezoneCommand.php1
-rw-r--r--lib/private/Authentication/Login/TwoFactorCommand.php1
-rw-r--r--lib/private/Authentication/Login/UidLoginCommand.php1
-rw-r--r--lib/private/Authentication/Login/UpdateLastPasswordConfirmCommand.php1
-rw-r--r--lib/private/Authentication/Login/UserDisabledCheckCommand.php1
-rw-r--r--lib/private/Authentication/Login/WebAuthnLoginCommand.php1
17 files changed, 0 insertions, 18 deletions
diff --git a/lib/private/Authentication/Login/ALoginCommand.php b/lib/private/Authentication/Login/ALoginCommand.php
index 5b245db6bda..7944eac1b62 100644
--- a/lib/private/Authentication/Login/ALoginCommand.php
+++ b/lib/private/Authentication/Login/ALoginCommand.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OC\Authentication\Login;
abstract class ALoginCommand {
-
/** @var ALoginCommand */
protected $next;
diff --git a/lib/private/Authentication/Login/Chain.php b/lib/private/Authentication/Login/Chain.php
index 32f44268d52..3c3179472c4 100644
--- a/lib/private/Authentication/Login/Chain.php
+++ b/lib/private/Authentication/Login/Chain.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OC\Authentication\Login;
class Chain {
-
/** @var PreLoginHookCommand */
private $preLoginHookCommand;
diff --git a/lib/private/Authentication/Login/ClearLostPasswordTokensCommand.php b/lib/private/Authentication/Login/ClearLostPasswordTokensCommand.php
index 7e872a855a5..1643b5af1d5 100644
--- a/lib/private/Authentication/Login/ClearLostPasswordTokensCommand.php
+++ b/lib/private/Authentication/Login/ClearLostPasswordTokensCommand.php
@@ -28,7 +28,6 @@ namespace OC\Authentication\Login;
use OCP\IConfig;
class ClearLostPasswordTokensCommand extends ALoginCommand {
-
/** @var IConfig */
private $config;
diff --git a/lib/private/Authentication/Login/CompleteLoginCommand.php b/lib/private/Authentication/Login/CompleteLoginCommand.php
index ffe76b4c89d..46f7f1a3fa7 100644
--- a/lib/private/Authentication/Login/CompleteLoginCommand.php
+++ b/lib/private/Authentication/Login/CompleteLoginCommand.php
@@ -28,7 +28,6 @@ namespace OC\Authentication\Login;
use OC\User\Session;
class CompleteLoginCommand extends ALoginCommand {
-
/** @var Session */
private $userSession;
diff --git a/lib/private/Authentication/Login/CreateSessionTokenCommand.php b/lib/private/Authentication/Login/CreateSessionTokenCommand.php
index 31ca0936942..ba237dfbf20 100644
--- a/lib/private/Authentication/Login/CreateSessionTokenCommand.php
+++ b/lib/private/Authentication/Login/CreateSessionTokenCommand.php
@@ -32,7 +32,6 @@ use OC\User\Session;
use OCP\IConfig;
class CreateSessionTokenCommand extends ALoginCommand {
-
/** @var IConfig */
private $config;
diff --git a/lib/private/Authentication/Login/EmailLoginCommand.php b/lib/private/Authentication/Login/EmailLoginCommand.php
index 7145ab9e14f..315fe450697 100644
--- a/lib/private/Authentication/Login/EmailLoginCommand.php
+++ b/lib/private/Authentication/Login/EmailLoginCommand.php
@@ -28,7 +28,6 @@ namespace OC\Authentication\Login;
use OCP\IUserManager;
class EmailLoginCommand extends ALoginCommand {
-
/** @var IUserManager */
private $userManager;
@@ -45,7 +44,6 @@ class EmailLoginCommand extends ALoginCommand {
$users = $this->userManager->getByEmail($loginData->getUsername());
// we only allow login by email if unique
if (count($users) === 1) {
-
// FIXME: This is a workaround to still stick to configured LDAP login filters
// this can be removed once the email login is properly implemented in the local user backend
// as described in https://github.com/nextcloud/server/issues/5221
diff --git a/lib/private/Authentication/Login/FinishRememberedLoginCommand.php b/lib/private/Authentication/Login/FinishRememberedLoginCommand.php
index 9b5b4ed0642..04ed7ed846e 100644
--- a/lib/private/Authentication/Login/FinishRememberedLoginCommand.php
+++ b/lib/private/Authentication/Login/FinishRememberedLoginCommand.php
@@ -30,7 +30,6 @@ use OC\User\Session;
use OCP\IConfig;
class FinishRememberedLoginCommand extends ALoginCommand {
-
/** @var Session */
private $userSession;
/** @var IConfig */
diff --git a/lib/private/Authentication/Login/LoggedInCheckCommand.php b/lib/private/Authentication/Login/LoggedInCheckCommand.php
index 9f80d47a3d4..dc1a4d2d883 100644
--- a/lib/private/Authentication/Login/LoggedInCheckCommand.php
+++ b/lib/private/Authentication/Login/LoggedInCheckCommand.php
@@ -33,7 +33,6 @@ use OCP\EventDispatcher\IEventDispatcher;
use Psr\Log\LoggerInterface;
class LoggedInCheckCommand extends ALoginCommand {
-
/** @var LoggerInterface */
private $logger;
/** @var IEventDispatcher */
diff --git a/lib/private/Authentication/Login/LoginData.php b/lib/private/Authentication/Login/LoginData.php
index 43d1a725668..240a1dc6476 100644
--- a/lib/private/Authentication/Login/LoginData.php
+++ b/lib/private/Authentication/Login/LoginData.php
@@ -30,7 +30,6 @@ use OCP\IRequest;
use OCP\IUser;
class LoginData {
-
/** @var IRequest */
private $request;
diff --git a/lib/private/Authentication/Login/LoginResult.php b/lib/private/Authentication/Login/LoginResult.php
index 1f91c9c6a25..dec012c2fc9 100644
--- a/lib/private/Authentication/Login/LoginResult.php
+++ b/lib/private/Authentication/Login/LoginResult.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OC\Authentication\Login;
class LoginResult {
-
/** @var bool */
private $success;
diff --git a/lib/private/Authentication/Login/PreLoginHookCommand.php b/lib/private/Authentication/Login/PreLoginHookCommand.php
index b989927a21c..21c97433f5a 100644
--- a/lib/private/Authentication/Login/PreLoginHookCommand.php
+++ b/lib/private/Authentication/Login/PreLoginHookCommand.php
@@ -30,7 +30,6 @@ use OC\Hooks\PublicEmitter;
use OCP\IUserManager;
class PreLoginHookCommand extends ALoginCommand {
-
/** @var IUserManager */
private $userManager;
diff --git a/lib/private/Authentication/Login/SetUserTimezoneCommand.php b/lib/private/Authentication/Login/SetUserTimezoneCommand.php
index 57859b032b6..f68fce1771e 100644
--- a/lib/private/Authentication/Login/SetUserTimezoneCommand.php
+++ b/lib/private/Authentication/Login/SetUserTimezoneCommand.php
@@ -29,7 +29,6 @@ use OCP\IConfig;
use OCP\ISession;
class SetUserTimezoneCommand extends ALoginCommand {
-
/** @var IConfig */
private $config;
diff --git a/lib/private/Authentication/Login/TwoFactorCommand.php b/lib/private/Authentication/Login/TwoFactorCommand.php
index d20bc881f1f..256d88ffa81 100644
--- a/lib/private/Authentication/Login/TwoFactorCommand.php
+++ b/lib/private/Authentication/Login/TwoFactorCommand.php
@@ -34,7 +34,6 @@ use OCP\Authentication\TwoFactorAuth\IProvider;
use OCP\IURLGenerator;
class TwoFactorCommand extends ALoginCommand {
-
/** @var Manager */
private $twoFactorManager;
diff --git a/lib/private/Authentication/Login/UidLoginCommand.php b/lib/private/Authentication/Login/UidLoginCommand.php
index a1bc9c585ab..d3216b6aad8 100644
--- a/lib/private/Authentication/Login/UidLoginCommand.php
+++ b/lib/private/Authentication/Login/UidLoginCommand.php
@@ -29,7 +29,6 @@ use OC\User\Manager;
use OCP\IUser;
class UidLoginCommand extends ALoginCommand {
-
/** @var Manager */
private $userManager;
diff --git a/lib/private/Authentication/Login/UpdateLastPasswordConfirmCommand.php b/lib/private/Authentication/Login/UpdateLastPasswordConfirmCommand.php
index cd9cdfab6e8..571ea931d8a 100644
--- a/lib/private/Authentication/Login/UpdateLastPasswordConfirmCommand.php
+++ b/lib/private/Authentication/Login/UpdateLastPasswordConfirmCommand.php
@@ -28,7 +28,6 @@ namespace OC\Authentication\Login;
use OCP\ISession;
class UpdateLastPasswordConfirmCommand extends ALoginCommand {
-
/** @var ISession */
private $session;
diff --git a/lib/private/Authentication/Login/UserDisabledCheckCommand.php b/lib/private/Authentication/Login/UserDisabledCheckCommand.php
index 87446dc72d7..7cf4c7235ec 100644
--- a/lib/private/Authentication/Login/UserDisabledCheckCommand.php
+++ b/lib/private/Authentication/Login/UserDisabledCheckCommand.php
@@ -31,7 +31,6 @@ use OCP\IUserManager;
use Psr\Log\LoggerInterface;
class UserDisabledCheckCommand extends ALoginCommand {
-
/** @var IUserManager */
private $userManager;
diff --git a/lib/private/Authentication/Login/WebAuthnLoginCommand.php b/lib/private/Authentication/Login/WebAuthnLoginCommand.php
index 5f79768d257..478a579853c 100644
--- a/lib/private/Authentication/Login/WebAuthnLoginCommand.php
+++ b/lib/private/Authentication/Login/WebAuthnLoginCommand.php
@@ -28,7 +28,6 @@ namespace OC\Authentication\Login;
use OCP\IUserManager;
class WebAuthnLoginCommand extends ALoginCommand {
-
/** @var IUserManager */
private $userManager;