[feature/auth-refactor] Create an auth.provider_collector service

Creates an auth.provider_collector service for all auth providers.

PHPBB3-9734
This commit is contained in:
Joseph Warner 2013-06-20 22:50:35 -04:00
parent c9062fc1ee
commit 95f38b457e

View file

@ -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 }