aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/default/container/services_auth.yml
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-11-07 14:27:00 +0100
committerTristan Darricau <github@nicofuma.fr>2014-11-20 21:00:01 +0100
commitc98efc53a80150b6f9189c9b194855c748e9b03d (patch)
treec82af6d71d9893b3a60fca428fd507b1dbf0afeb /phpBB/config/default/container/services_auth.yml
parent0b61e3540de353f2bf0a6904a87727e4efe9c5fa (diff)
downloadforums-c98efc53a80150b6f9189c9b194855c748e9b03d.tar
forums-c98efc53a80150b6f9189c9b194855c748e9b03d.tar.gz
forums-c98efc53a80150b6f9189c9b194855c748e9b03d.tar.bz2
forums-c98efc53a80150b6f9189c9b194855c748e9b03d.tar.xz
forums-c98efc53a80150b6f9189c9b194855c748e9b03d.zip
[ticket/12620] Fix rebase (move config file to the right directory)
PHPBB3-12620
Diffstat (limited to 'phpBB/config/default/container/services_auth.yml')
-rw-r--r--phpBB/config/default/container/services_auth.yml100
1 files changed, 100 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_auth.yml b/phpBB/config/default/container/services_auth.yml
new file mode 100644
index 0000000000..88a90ca2d6
--- /dev/null
+++ b/phpBB/config/default/container/services_auth.yml
@@ -0,0 +1,100 @@
+services:
+# ----- Auth management -----
+ auth:
+ class: phpbb\auth\auth
+
+# ----- Auth providers -----
+ auth.provider_collection:
+ class: phpbb\auth\provider_collection
+ arguments:
+ - @service_container
+ - @config
+ tags:
+ - { name: service_collection, tag: auth.provider }
+
+ auth.provider.db:
+ class: phpbb\auth\provider\db
+ arguments:
+ - @dbal.conn
+ - @config
+ - @passwords.manager
+ - @request
+ - @user
+ - @service_container
+ - %core.root_path%
+ - %core.php_ext%
+ tags:
+ - { name: auth.provider }
+
+ auth.provider.apache:
+ class: phpbb\auth\provider\apache
+ arguments:
+ - @dbal.conn
+ - @config
+ - @passwords.manager
+ - @request
+ - @user
+ - %core.root_path%
+ - %core.php_ext%
+ tags:
+ - { name: auth.provider }
+
+ auth.provider.ldap:
+ class: phpbb\auth\provider\ldap
+ arguments:
+ - @dbal.conn
+ - @config
+ - @passwords.manager
+ - @user
+ tags:
+ - { name: auth.provider }
+
+ auth.provider.oauth:
+ class: phpbb\auth\provider\oauth\oauth
+ arguments:
+ - @dbal.conn
+ - @config
+ - @passwords.manager
+ - @request
+ - @user
+ - %tables.auth_provider_oauth_token_storage%
+ - %tables.auth_provider_oauth_account_assoc%
+ - @auth.provider.oauth.service_collection
+ - %tables.users%
+ - @service_container
+ - %core.root_path%
+ - %core.php_ext%
+ tags:
+ - { name: auth.provider }
+
+# ----- OAuth services providers -----
+ auth.provider.oauth.service_collection:
+ class: phpbb\di\service_collection
+ arguments:
+ - @service_container
+ tags:
+ - { name: service_collection, tag: auth.provider.oauth.service }
+
+ auth.provider.oauth.service.bitly:
+ class: phpbb\auth\provider\oauth\service\bitly
+ arguments:
+ - @config
+ - @request
+ tags:
+ - { name: auth.provider.oauth.service }
+
+ auth.provider.oauth.service.facebook:
+ class: phpbb\auth\provider\oauth\service\facebook
+ arguments:
+ - @config
+ - @request
+ tags:
+ - { name: auth.provider.oauth.service }
+
+ auth.provider.oauth.service.google:
+ class: phpbb\auth\provider\oauth\service\google
+ arguments:
+ - @config
+ - @request
+ tags:
+ - { name: auth.provider.oauth.service }