aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/passwords.yml
blob: 4f4a4621eec2038977c1f6a7300caeb6e4031131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
parameters:
    passwords.algorithms:
        - passwords.driver.bcrypt_2y
        - passwords.driver.bcrypt
        - passwords.driver.salted_md5
        - passwords.driver.phpass

services:
    passwords.driver.bcrypt:
        class: phpbb\passwords\driver\bcrypt
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.bcrypt_2y:
        class: phpbb\passwords\driver\bcrypt_2y
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.salted_md5:
        class: phpbb\passwords\driver\salted_md5
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.phpass:
        class: phpbb\passwords\driver\phpass
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.convert_password:
        class: phpbb\passwords\driver\convert_password
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver.sha1_smf:
        class: phpbb\passwords\driver\sha1_smf
        arguments:
            - @config
            - @passwords.driver_helper
        tags:
            - { name: passwords.driver }

    passwords.driver_collection:
        class: phpbb\di\service_collection
        arguments:
            - @service_container
        tags:
            - { name: service_collection, tag: passwords.driver }

    passwords.driver_helper:
        class: phpbb\passwords\driver\helper
        arguments:
            - @config

    passwords.manager:
        class: phpbb\passwords\manager
        arguments:
            - @config
            - @passwords.driver_collection
            - @passwords.helper
            - %passwords.algorithms%

    passwords.helper:
        class: phpbb\passwords\helper