mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[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:
parent
c9062fc1ee
commit
95f38b457e
1 changed files with 12 additions and 0 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Reference in a new issue