aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authormrgoldy <gijsmartens1@gmail.com>2019-05-05 18:26:43 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-11-03 11:41:39 +0100
commit0b39e4e854da85ea6fd59578e1623078012fcae2 (patch)
tree7c937616c4a4474d6e729881288f3eb91828374a /phpBB/config
parent78ce646c699d3874bb1662832528f10ce9e9d7a5 (diff)
downloadforums-0b39e4e854da85ea6fd59578e1623078012fcae2.tar
forums-0b39e4e854da85ea6fd59578e1623078012fcae2.tar.gz
forums-0b39e4e854da85ea6fd59578e1623078012fcae2.tar.bz2
forums-0b39e4e854da85ea6fd59578e1623078012fcae2.tar.xz
forums-0b39e4e854da85ea6fd59578e1623078012fcae2.zip
[ticket/16008] Clean up phpBB OAuth system
PHPBB3-16008
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/default/container/services_auth.yml15
1 files changed, 8 insertions, 7 deletions
diff --git a/phpBB/config/default/container/services_auth.yml b/phpBB/config/default/container/services_auth.yml
index ed8dc90a74..d1aeed01aa 100644
--- a/phpBB/config/default/container/services_auth.yml
+++ b/phpBB/config/default/container/services_auth.yml
@@ -1,9 +1,9 @@
services:
-# ----- Auth management -----
+ # ----- Auth management -----
auth:
class: phpbb\auth\auth
-# ----- Auth providers -----
+ # ----- Auth providers -----
auth.provider_collection:
class: phpbb\auth\provider_collection
arguments:
@@ -52,24 +52,25 @@ services:
auth.provider.oauth:
class: phpbb\auth\provider\oauth\oauth
arguments:
- - '@dbal.conn'
- '@config'
+ - '@service_container'
+ - '@dbal.conn'
+ - '@dispatcher'
+ - '@language'
- '@passwords.manager'
- '@request'
+ - '@auth.provider.oauth.service_collection'
- '@user'
- '%tables.auth_provider_oauth_token_storage%'
- '%tables.auth_provider_oauth_states%'
- '%tables.auth_provider_oauth_account_assoc%'
- - '@auth.provider.oauth.service_collection'
- '%tables.users%'
- - '@service_container'
- - '@dispatcher'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: auth.provider }
-# ----- OAuth services providers -----
+ # ----- OAuth services providers -----
auth.provider.oauth.service_collection:
class: phpbb\di\service_collection
arguments: