|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace LmcUser\Options; |
|
4
|
|
|
|
|
5
|
|
|
interface AuthenticationOptionsInterface extends PasswordOptionsInterface |
|
6
|
|
|
{ |
|
7
|
|
|
|
|
8
|
|
|
/** |
|
9
|
|
|
* set login form timeout in seconds |
|
10
|
|
|
* |
|
11
|
|
|
* @param int $loginFormTimeout |
|
12
|
|
|
*/ |
|
13
|
|
|
public function setLoginFormTimeout($loginFormTimeout); |
|
14
|
|
|
|
|
15
|
|
|
/** |
|
16
|
|
|
* set login form timeout in seconds |
|
17
|
|
|
* |
|
18
|
|
|
* @param int $loginFormTimeout |
|
|
|
|
|
|
19
|
|
|
*/ |
|
20
|
|
|
public function getLoginFormTimeout(); |
|
21
|
|
|
|
|
22
|
|
|
/** |
|
23
|
|
|
* set auth identity fields |
|
24
|
|
|
* |
|
25
|
|
|
* @param array $authIdentityFields |
|
26
|
|
|
* @return ModuleOptions |
|
27
|
|
|
*/ |
|
28
|
|
|
public function setAuthIdentityFields($authIdentityFields); |
|
29
|
|
|
|
|
30
|
|
|
/** |
|
31
|
|
|
* get auth identity fields |
|
32
|
|
|
* |
|
33
|
|
|
* @return array |
|
34
|
|
|
*/ |
|
35
|
|
|
public function getAuthIdentityFields(); |
|
36
|
|
|
|
|
37
|
|
|
/** |
|
38
|
|
|
* set use a captcha in login form |
|
39
|
|
|
* |
|
40
|
|
|
* @param bool $useLoginFormCaptcha |
|
41
|
|
|
* @return ModuleOptions |
|
42
|
|
|
*/ |
|
43
|
|
|
public function setUseLoginFormCaptcha($useLoginFormCaptcha); |
|
44
|
|
|
|
|
45
|
|
|
/** |
|
46
|
|
|
* get use a captcha in login form |
|
47
|
|
|
* |
|
48
|
|
|
* @return bool |
|
49
|
|
|
*/ |
|
50
|
|
|
public function getUseLoginFormCaptcha(); |
|
51
|
|
|
|
|
52
|
|
|
/** |
|
53
|
|
|
* set use a csrf in login form |
|
54
|
|
|
* |
|
55
|
|
|
* @param bool $useLoginFormCsrf |
|
56
|
|
|
* @return ModuleOptions |
|
57
|
|
|
*/ |
|
58
|
|
|
public function setUseLoginFormCsrf($useLoginFormCsrf); |
|
59
|
|
|
|
|
60
|
|
|
/** |
|
61
|
|
|
* get use a csrf in login form |
|
62
|
|
|
* |
|
63
|
|
|
* @return bool |
|
64
|
|
|
*/ |
|
65
|
|
|
public function getUseLoginFormCsrf(); |
|
66
|
|
|
|
|
67
|
|
|
/** |
|
68
|
|
|
* set form CAPTCHA options |
|
69
|
|
|
* |
|
70
|
|
|
* @param array $formCaptchaOptions |
|
71
|
|
|
* @return ModuleOptions |
|
72
|
|
|
*/ |
|
73
|
|
|
public function setFormCaptchaOptions($formCaptchaOptions); |
|
74
|
|
|
|
|
75
|
|
|
/** |
|
76
|
|
|
* get form CAPTCHA options |
|
77
|
|
|
* |
|
78
|
|
|
* @return array |
|
79
|
|
|
*/ |
|
80
|
|
|
public function getFormCaptchaOptions(); |
|
81
|
|
|
} |
|
82
|
|
|
|
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.