File tree 1 file changed +13
-11
lines changed
1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -62,26 +62,28 @@ Each part will be explained in the next section.
62
62
providers : # Required
63
63
# Examples:
64
64
memory :
65
- name : memory
65
+ name : my_in_memory_provider
66
66
users :
67
67
foo :
68
- password : foo
69
- roles : ROLE_USER
68
+ password : foo
69
+ roles : ROLE_USER
70
70
bar :
71
- password : bar
72
- roles : [ROLE_USER, ROLE_ADMIN]
73
- entity :
71
+ password : bar
72
+ roles : [ROLE_USER, ROLE_ADMIN]
73
+
74
+ my_entity_provider :
74
75
entity :
75
- class : SecurityBundle:User
76
- property : username
76
+ class : SecurityBundle:User
77
+ property : username
77
78
78
79
# Example custom provider
79
- some_custom_provider :
80
+ my_some_custom_provider :
80
81
id : ~
81
82
82
83
# Chain some providers
83
- chain :
84
- providers : [ entity, memory ]
84
+ my_chain_provider :
85
+ chain :
86
+ providers : [ my_in_memory_provider, my_entity_provider ]
85
87
86
88
firewalls : # Required
87
89
# Examples:
You can’t perform that action at this time.
0 commit comments