File tree 1 file changed +20
-20
lines changed
1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -56,34 +56,34 @@ Each part will be explained in the next section.
56
56
iterations : 5000
57
57
58
58
# Example options/values for what a custom encoder might look like
59
- Acme\Your\Class\Name :
60
- algorithm : ~
61
- ignore_case : false
62
- encode_as_base64 : true
63
- iterations : 5000
64
- id : ~
59
+ Acme\DemoBundle\Entity\User3 :
60
+ id : my.encoder.id
65
61
66
62
providers : # Required
67
63
# Examples:
68
- memory :
69
- name : memory
70
- users :
71
- foo :
72
- password : foo
73
- roles : ROLE_USER
74
- bar :
75
- password : bar
76
- roles : [ROLE_USER, ROLE_ADMIN]
77
- entity :
64
+ my_in_memory_provider :
65
+ memory :
66
+ users :
67
+ foo :
68
+ password : foo
69
+ roles : ROLE_USER
70
+ bar :
71
+ password : bar
72
+ roles : [ROLE_USER, ROLE_ADMIN]
73
+
74
+ my_entity_provider :
78
75
entity :
79
- class : SecurityBundle:User
80
- property : username
76
+ class : SecurityBundle:User
77
+ property : username
81
78
82
79
# Example custom provider
83
- some_custom_provider :
80
+ my_some_custom_provider :
84
81
id : ~
82
+
83
+ # Chain some providers
84
+ my_chain_provider :
85
85
chain :
86
- providers : [ ]
86
+ providers : [ my_in_memory_provider, my_entity_provider ]
87
87
88
88
firewalls : # Required
89
89
# Examples:
You can’t perform that action at this time.
0 commit comments