Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
36.36% |
4 / 11 |
CRAP | |
36.36% |
4 / 11 |
base | |
0.00% |
0 / 1 |
|
36.36% |
4 / 11 |
42.18 | |
36.36% |
4 / 11 |
init | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
autologin | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
acp | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
get_acp_template | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
get_login_data | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
get_auth_link_data | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
logout | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
validate_session | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
login_link_has_necessary_data | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
link_account | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
unlink_account | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
<?php | |
/** | |
* | |
* This file is part of the phpBB Forum Software package. | |
* | |
* @copyright (c) phpBB Limited <https://www.phpbb.com> | |
* @license GNU General Public License, version 2 (GPL-2.0) | |
* | |
* For full copyright and license information, please see | |
* the docs/CREDITS.txt file. | |
* | |
*/ | |
namespace phpbb\auth\provider; | |
/** | |
* Base authentication provider class that all other providers should implement | |
*/ | |
abstract class base implements \phpbb\auth\provider\provider_interface | |
{ | |
/** | |
* {@inheritdoc} | |
*/ | |
public function init() | |
{ | |
return; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function autologin() | |
{ | |
return; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function acp() | |
{ | |
return; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function get_acp_template($new_config) | |
{ | |
return; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function get_login_data() | |
{ | |
return; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function get_auth_link_data($user_id = 0) | |
{ | |
return; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function logout($data, $new_session) | |
{ | |
return; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function validate_session($user) | |
{ | |
return; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function login_link_has_necessary_data($login_link_data) | |
{ | |
return; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function link_account(array $link_data) | |
{ | |
return; | |
} | |
/** | |
* {@inheritdoc} | |
*/ | |
public function unlink_account(array $link_data) | |
{ | |
return; | |
} | |
} |