Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
27.27% |
3 / 11 |
|
27.27% |
3 / 11 |
CRAP | |
0.00% |
0 / 1 |
base | |
27.27% |
3 / 11 |
|
27.27% |
3 / 11 |
57.55 | |
0.00% |
0 / 1 |
init | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
autologin | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
acp | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
get_acp_template | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
get_login_data | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
get_auth_link_data | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
logout | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
validate_session | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
login_link_has_necessary_data | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
link_account | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
unlink_account | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | /** |
3 | * |
4 | * This file is part of the phpBB Forum Software package. |
5 | * |
6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
7 | * @license GNU General Public License, version 2 (GPL-2.0) |
8 | * |
9 | * For full copyright and license information, please see |
10 | * the docs/CREDITS.txt file. |
11 | * |
12 | */ |
13 | |
14 | namespace phpbb\auth\provider; |
15 | |
16 | /** |
17 | * Base authentication provider class that all other providers should implement |
18 | */ |
19 | abstract class base implements provider_interface |
20 | { |
21 | /** |
22 | * {@inheritdoc} |
23 | */ |
24 | public function init() |
25 | { |
26 | } |
27 | |
28 | /** |
29 | * {@inheritdoc} |
30 | */ |
31 | public function autologin() |
32 | { |
33 | } |
34 | |
35 | /** |
36 | * {@inheritdoc} |
37 | */ |
38 | public function acp() |
39 | { |
40 | } |
41 | |
42 | /** |
43 | * {@inheritdoc} |
44 | */ |
45 | public function get_acp_template($new_config) |
46 | { |
47 | } |
48 | |
49 | /** |
50 | * {@inheritdoc} |
51 | */ |
52 | public function get_login_data() |
53 | { |
54 | } |
55 | |
56 | /** |
57 | * {@inheritdoc} |
58 | */ |
59 | public function get_auth_link_data($user_id = 0) |
60 | { |
61 | } |
62 | |
63 | /** |
64 | * {@inheritdoc} |
65 | */ |
66 | public function logout($data, $new_session) |
67 | { |
68 | } |
69 | |
70 | /** |
71 | * {@inheritdoc} |
72 | */ |
73 | public function validate_session($user) |
74 | { |
75 | } |
76 | |
77 | /** |
78 | * {@inheritdoc} |
79 | */ |
80 | public function login_link_has_necessary_data(array $login_link_data) |
81 | { |
82 | return null; |
83 | } |
84 | |
85 | /** |
86 | * {@inheritdoc} |
87 | */ |
88 | public function link_account(array $link_data) |
89 | { |
90 | } |
91 | |
92 | /** |
93 | * {@inheritdoc} |
94 | */ |
95 | public function unlink_account(array $link_data) |
96 | { |
97 | } |
98 | } |