aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-06-20 22:50:35 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-06-20 22:50:35 -0400
commit95f38b457e6b00cbc3b15b7768d435d467f5bc2c (patch)
treef043e85e6d27b801793bbeabbf38c34b875b4c39
parentc9062fc1ee9bade7c2b4d84c99b3b71a78d5570c (diff)
downloadforums-95f38b457e6b00cbc3b15b7768d435d467f5bc2c.tar
forums-95f38b457e6b00cbc3b15b7768d435d467f5bc2c.tar.gz
forums-95f38b457e6b00cbc3b15b7768d435d467f5bc2c.tar.bz2
forums-95f38b457e6b00cbc3b15b7768d435d467f5bc2c.tar.xz
forums-95f38b457e6b00cbc3b15b7768d435d467f5bc2c.zip
[feature/auth-refactor] Create an auth.provider_collector service
Creates an auth.provider_collector service for all auth providers. PHPBB3-9734
-rw-r--r--phpBB/config/auth_providers.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/config/auth_providers.yml b/phpBB/config/auth_providers.yml
index e91fd8ff99..bcc448e4d7 100644
--- a/phpBB/config/auth_providers.yml
+++ b/phpBB/config/auth_providers.yml
@@ -1,4 +1,10 @@
services:
+ auth.provider_collection:
+ class: phpbb_di_service_collection
+ arguments:
+ - @service_container
+ tags:
+ - { name: service_collection, tag: auth.provider }
auth.provider.db:
class: phpbb_auth_provider_db
arguments:
@@ -8,6 +14,8 @@ services:
- @user
- %core.root_path%
- %core.php_ext%
+ tags:
+ - { name: auth.provider }
auth.provider.apache:
class: phpbb_auth_provider_apache
arguments:
@@ -17,9 +25,13 @@ services:
- @user
- %core.root_path%
- %core.php_ext%
+ tags:
+ - { name: auth.provider }
auth.provider.ldap:
class: phpbb_auth_provider_ldap
arguments:
- @dbal.conn
- @config
- @user
+ tags:
+ - { name: auth.provider }