1 | <?php |
||
26 | class Authentication |
||
27 | { |
||
28 | /** |
||
29 | * @var LegacyAuthenticationInterface |
||
30 | */ |
||
31 | private $legacyAuthentication; |
||
32 | |||
33 | /** |
||
34 | * @var PasswordManagementInterface |
||
35 | */ |
||
36 | private $passwordManagement; |
||
37 | |||
38 | /** |
||
39 | * @var Session |
||
40 | */ |
||
41 | private $session; |
||
42 | |||
43 | /** |
||
44 | * @var Url |
||
45 | */ |
||
46 | private $url; |
||
47 | |||
48 | /** |
||
49 | * Authentication constructor. |
||
50 | * @param LegacyAuthenticationInterface $legacyAuthentication |
||
51 | * @param PasswordManagementInterface $passwordManagement |
||
52 | * @param Session $session |
||
53 | * @param Url $url |
||
54 | */ |
||
55 | public function __construct( |
||
66 | |||
67 | /** |
||
68 | * @param AuthenticationModel $subject |
||
69 | * @param callable $proceed |
||
70 | * @param $customerId |
||
71 | * @param $password |
||
72 | * @return bool |
||
73 | * @throws Exception |
||
74 | */ |
||
75 | public function aroundAuthenticate(AuthenticationModel $subject, callable $proceed, $customerId, $password) |
||
88 | |||
89 | |||
90 | /** |
||
91 | * @param int $customerId |
||
92 | * @param string $password |
||
93 | * @return void |
||
94 | * @throws InputException |
||
95 | */ |
||
96 | private function updateCustomerPassword(int $customerId, string $password) : void |
||
105 | |||
106 | |||
107 | /** |
||
108 | * @return string |
||
109 | */ |
||
110 | private function getResetPasswordUrl() : string |
||
114 | } |
||
115 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.