[feature/passwords] Add service collection file crypto.yml

This will contain definitions of the services and the service collection
that will be passed to the passwords manager.

PHPBB3-11610
This commit is contained in:
Marc Alexander 2013-06-15 10:02:02 +02:00
parent 3a0dd248d0
commit d66cae7cbc
2 changed files with 36 additions and 0 deletions

35
phpBB/config/crypto.yml Normal file
View file

@ -0,0 +1,35 @@
services:
crypto.driver.bcrypt:
class: phpbb_crypto_driver_bcrypt
arguments:
- @config
tags:
- { name: crypto.driver }
crypto.driver.bcrypt_2y:
class: phpbb_crypto_driver_bcrypt_2y
arguments:
- @config
tags:
- { name: crypto.driver }
crypto.driver.salted_md5:
class: phpbb_crypto_driver_salted_md5
arguments:
- @config
tags:
- { name: crypto.driver }
crypto.driver.phpass:
class: phpbb_crypto_driver_phpass
arguments:
- @config
tags:
- { name: crypto.driver }
crypto.driver_collection:
class: phpbb_di_service_collection
arguments:
- @service_container
tags:
- { name: service_collection, tag: crypto.driver }

View file

@ -6,6 +6,7 @@ imports:
- { resource: avatars.yml }
- { resource: feed.yml }
- { resource: auth_providers.yml }
- { resource: crypto.yml }
services:
acl.permissions: