Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class SuccessPlugin extends BaseAuthPlugin |
||
11 | { |
||
12 | /** |
||
13 | * Auth plugin hook to be fired on login. |
||
14 | * |
||
15 | * @param string $username |
||
16 | * @param string $password |
||
17 | * @return int |
||
18 | */ |
||
19 | 5 | public function login($username, $password) |
|
22 | } |
||
23 | |||
24 | /** |
||
25 | * Auth plugin hook to be fired on auth verification. |
||
26 | * |
||
27 | * @return int |
||
28 | */ |
||
29 | 2 | public function verify() |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * Auth plugin hook to be fired on logout. |
||
36 | * |
||
37 | * @return int |
||
38 | */ |
||
39 | 1 | public function logout() |
|
44 |