]> source.dussan.org Git - nextcloud-server.git/commit
Add a login chain to reduce the complexity of LoginController::tryLogin 15365/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Fri, 3 May 2019 13:09:19 +0000 (15:09 +0200)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 7 May 2019 16:04:36 +0000 (18:04 +0200)
commit170582d4f5eef1cc53c043d67c5d9d07d097155c
tree640d7a0c0fbfdf1d9a567c7fa5ddbb3cdb4f5316
parent5893f218c247d4c0829fb74161e663f3903e15ad
Add a login chain to reduce the complexity of LoginController::tryLogin

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
34 files changed:
core/Controller/LoginController.php
lib/composer/composer/autoload_classmap.php
lib/composer/composer/autoload_static.php
lib/private/Authentication/Login/ALoginCommand.php [new file with mode: 0644]
lib/private/Authentication/Login/Chain.php [new file with mode: 0644]
lib/private/Authentication/Login/ClearLostPasswordTokensCommand.php [new file with mode: 0644]
lib/private/Authentication/Login/CompleteLoginCommand.php [new file with mode: 0644]
lib/private/Authentication/Login/CreateSessionTokenCommand.php [new file with mode: 0644]
lib/private/Authentication/Login/EmailLoginCommand.php [new file with mode: 0644]
lib/private/Authentication/Login/FinishRememberedLoginCommand.php [new file with mode: 0644]
lib/private/Authentication/Login/LoggedInCheckCommand.php [new file with mode: 0644]
lib/private/Authentication/Login/LoginData.php [new file with mode: 0644]
lib/private/Authentication/Login/LoginResult.php [new file with mode: 0644]
lib/private/Authentication/Login/PreLoginHookCommand.php [new file with mode: 0644]
lib/private/Authentication/Login/SetUserTimezoneCommand.php [new file with mode: 0644]
lib/private/Authentication/Login/TwoFactorCommand.php [new file with mode: 0644]
lib/private/Authentication/Login/UidLoginCommand.php [new file with mode: 0644]
lib/private/Authentication/Login/UpdateLastPasswordConfirmCommand.php [new file with mode: 0644]
lib/private/Authentication/Login/UserDisabledCheckCommand.php [new file with mode: 0644]
lib/private/User/Manager.php
tests/Core/Controller/LoginControllerTest.php
tests/lib/Authentication/Login/ALoginCommandTest.php [new file with mode: 0644]
tests/lib/Authentication/Login/ClearLostPasswordTokensCommandTest.php [new file with mode: 0644]
tests/lib/Authentication/Login/CompleteLoginCommandTest.php [new file with mode: 0644]
tests/lib/Authentication/Login/CreateSessionTokenCommandTest.php [new file with mode: 0644]
tests/lib/Authentication/Login/EmailLoginCommandTest.php [new file with mode: 0644]
tests/lib/Authentication/Login/FinishRememberedLoginCommandTest.php [new file with mode: 0644]
tests/lib/Authentication/Login/LoggedInCheckCommandTest.php [new file with mode: 0644]
tests/lib/Authentication/Login/PreLoginHookCommandTest.php [new file with mode: 0644]
tests/lib/Authentication/Login/SetUserTimezoneCommandTest.php [new file with mode: 0644]
tests/lib/Authentication/Login/TwoFactorCommandTest.php [new file with mode: 0644]
tests/lib/Authentication/Login/UidLoginCommandTest.php [new file with mode: 0644]
tests/lib/Authentication/Login/UpdateLastPasswordConfirmCommandTest.php [new file with mode: 0644]
tests/lib/Authentication/Login/UserDisabledCheckCommandTest.php [new file with mode: 0644]