Completed
Pull Request — master (#30365)
by Thomas
18:09
created
lib/private/User/Session.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
 	 * @throws \InvalidArgumentException
324 324
 	 * @throws LoginException
325 325
 	 * @throws PasswordLoginForbiddenException
326
-	 * @return boolean
326
+	 * @return boolean|null
327 327
 	 */
328 328
 	public function logClientIn($user, $password, IRequest $request) {
329 329
 		$isTokenPassword = $this->isTokenPassword($password);
@@ -366,6 +366,9 @@  discard block
 block discarded – undo
366 366
 		return $this->config->getSystemValue('token_auth_enforced', false);
367 367
 	}
368 368
 
369
+	/**
370
+	 * @param string $username
371
+	 */
369 372
 	protected function isTwoFactorEnforced($username) {
370 373
 		Util::emitHook(
371 374
 			'\OCA\Files_Sharing\API\Server2Server',
@@ -988,6 +991,9 @@  discard block
 block discarded – undo
988 991
 		}
989 992
 	}
990 993
 
994
+	/**
995
+	 * @param IRequest $request
996
+	 */
991 997
 	public function verifyAuthHeaders($request) {
992 998
 		$shallLogout = false;
993 999
 		try {
@@ -1019,7 +1025,7 @@  discard block
 block discarded – undo
1019 1025
 	}
1020 1026
 
1021 1027
 	/**
1022
-	 * @param $includeBuiltIn
1028
+	 * @param boolean $includeBuiltIn
1023 1029
 	 * @return \Generator | IAuthModule[]
1024 1030
 	 * @throws Exception
1025 1031
 	 */
Please login to merge, or discard this patch.
lib/private/User/TokenAuthModule.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
 use OCP\Authentication\IAuthModule;
31 31
 use OCP\IRequest;
32 32
 use OCP\ISession;
33
-use OCP\IUser;
34 33
 use OCP\IUserManager;
35 34
 use OCP\Session\Exceptions\SessionNotAvailableException;
36 35
 
Please login to merge, or discard this patch.