Total Complexity | 4 |
Total Lines | 62 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class AuthenticateRequest extends RequestClient |
||
9 | { |
||
10 | /** |
||
11 | * With the auto injector, |
||
12 | * all the indices in the array are executed as methods |
||
13 | * and the global input is automatically injected. |
||
14 | * |
||
15 | * @var array $autoInject |
||
16 | */ |
||
17 | protected $autoInject = []; |
||
18 | |||
19 | /** |
||
20 | * The values expected by the server. |
||
21 | * |
||
22 | * @var array |
||
23 | */ |
||
24 | protected $expected = []; |
||
25 | |||
26 | /** |
||
27 | * mandatory http method. |
||
28 | * |
||
29 | * @var array |
||
30 | */ |
||
31 | protected $http = []; |
||
32 | |||
33 | /** |
||
34 | * @var null|object |
||
35 | */ |
||
36 | protected $credentials; |
||
37 | |||
38 | /** |
||
39 | * AuthenticateRequest constructor. |
||
40 | * @param AuthLoginCredentialsManager $credentials |
||
41 | */ |
||
42 | public function __construct($credentials) |
||
52 | } |
||
53 | |||
54 | public function all() |
||
55 | { |
||
56 | return $this->inputs; |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * @var string |
||
61 | */ |
||
62 | protected $password; |
||
63 | |||
64 | /** |
||
65 | * @return string |
||
66 | */ |
||
67 | protected function password() |
||
70 | } |
||
71 | } |