@@ -322,7 +322,7 @@ discard block |
||
322 | 322 | * @param IRequest $request |
323 | 323 | * @throws LoginException |
324 | 324 | * @throws PasswordLoginForbiddenException |
325 | - * @return boolean |
|
325 | + * @return boolean|null |
|
326 | 326 | */ |
327 | 327 | public function logClientIn($user, $password, IRequest $request) { |
328 | 328 | $isTokenPassword = $this->isTokenPassword($password); |
@@ -365,6 +365,9 @@ discard block |
||
365 | 365 | return $this->config->getSystemValue('token_auth_enforced', false); |
366 | 366 | } |
367 | 367 | |
368 | + /** |
|
369 | + * @param string $username |
|
370 | + */ |
|
368 | 371 | protected function isTwoFactorEnforced($username) { |
369 | 372 | Util::emitHook( |
370 | 373 | '\OCA\Files_Sharing\API\Server2Server', |
@@ -987,6 +990,9 @@ discard block |
||
987 | 990 | } |
988 | 991 | } |
989 | 992 | |
993 | + /** |
|
994 | + * @param IRequest $request |
|
995 | + */ |
|
990 | 996 | public function verifyAuthHeaders($request) { |
991 | 997 | $lastUser = null; |
992 | 998 | foreach ($this->getAuthModules(true) as $module) { |
@@ -1015,7 +1021,7 @@ discard block |
||
1015 | 1021 | } |
1016 | 1022 | |
1017 | 1023 | /** |
1018 | - * @param $includeBuiltIn |
|
1024 | + * @param boolean $includeBuiltIn |
|
1019 | 1025 | * @return \Generator | IAuthModule[] |
1020 | 1026 | * @throws Exception |
1021 | 1027 | */ |