Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class Method implements MethodInterface, TestOnly |
||
10 | { |
||
11 | /** |
||
12 | * Get a URL segment for this method. This will be used in URL paths for performing authentication by this method |
||
13 | * |
||
14 | * @return string |
||
15 | */ |
||
16 | public function getURLSegment() |
||
17 | { |
||
18 | return 'basic-math'; |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Return the LoginHandler that is used to start and verify login attempts with this method |
||
23 | * |
||
24 | * @return LoginHandlerInterface |
||
25 | */ |
||
26 | public function getLoginHandler() |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Return the RegisterHandler that is used to perform registrations with this method |
||
33 | * |
||
34 | * @return RegisterHandlerInterface |
||
35 | */ |
||
36 | public function getRegisterHandler() |
||
41 |