1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16008] Clean up phpBB OAuth system

PHPBB3-16008
This commit is contained in:
mrgoldy
2019-05-05 18:26:43 +02:00
committed by Marc Alexander
parent 78ce646c69
commit 0b39e4e854
13 changed files with 1103 additions and 882 deletions

View File

@@ -61,20 +61,21 @@ class phpbb_functions_user_delete_test extends phpbb_database_test_case
$passwords_manager = new \phpbb\passwords\manager($config, $passwords_drivers, $passwords_helper, array_keys($passwords_drivers));
$oauth_provider = new \phpbb\auth\provider\oauth\oauth(
$db,
$config,
$phpbb_container,
$db,
$phpbb_dispatcher,
$lang,
$passwords_manager,
$request,
$oauth_provider_collection,
$user,
'phpbb_oauth_tokens',
'phpbb_oauth_states',
'phpbb_oauth_accounts',
$oauth_provider_collection,
'phpbb_users',
$phpbb_container,
$phpbb_dispatcher,
$this->phpbb_root_path,
$this->php_ext
$phpbb_root_path,
$phpEx
);
$provider_collection->offsetSet('auth.provider.oauth', $oauth_provider);