1 | <?php namespace Lahaxearnaud\U2f; |
||
17 | class U2f { |
||
18 | /** |
||
19 | * @var \u2flib_server\U2F |
||
20 | */ |
||
21 | protected $u2f; |
||
22 | |||
23 | /** |
||
24 | * @var Config |
||
25 | */ |
||
26 | protected $config; |
||
27 | |||
28 | /** |
||
29 | * @var Session |
||
30 | */ |
||
31 | protected $session; |
||
32 | |||
33 | /** |
||
34 | * @param \Illuminate\Config\Repository $config |
||
35 | */ |
||
36 | public function __construct(Config $config, Session $session) |
||
43 | |||
44 | /** |
||
45 | * @author LAHAXE Arnaud |
||
46 | * |
||
47 | * @param User $user |
||
48 | * |
||
49 | * @return mixed |
||
50 | */ |
||
51 | public function getRegisterData(User $user) |
||
55 | |||
56 | /** |
||
57 | * @author LAHAXE Arnaud |
||
58 | * |
||
59 | * @param User $user |
||
60 | * @param $registerData |
||
61 | * @param $keyData |
||
62 | * |
||
63 | * @return mixed |
||
64 | */ |
||
65 | public function doRegister(User $user, $registerData, $keyData) |
||
72 | |||
73 | /** |
||
74 | * @author LAHAXE Arnaud |
||
75 | * |
||
76 | * @param User $user |
||
77 | * |
||
78 | * @return mixed |
||
79 | */ |
||
80 | public function getAuthenticateData(User $user) |
||
84 | |||
85 | /** |
||
86 | * @author LAHAXE Arnaud |
||
87 | * |
||
88 | * @param User $user |
||
89 | * @param $authData |
||
90 | * @param $keyData |
||
91 | * |
||
92 | * @return bool |
||
93 | */ |
||
94 | public function doAuthenticate(User $user, $authData, $keyData) |
||
118 | |||
119 | /** |
||
120 | * @author LAHAXE Arnaud |
||
121 | * |
||
122 | * |
||
123 | * @return mixed |
||
124 | */ |
||
125 | public function check() |
||
129 | } |
||
130 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.