-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathredant.security-bundle.2.0.json
95 lines (95 loc) · 4.46 KB
/
redant.security-bundle.2.0.json
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"manifests": {
"redant/security-bundle": {
"manifest": {
"bundles": {
"RedAnt\\SecurityBundle\\RedAntSecurityBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
},
"files": {
"config/packages/security.yaml": {
"contents": [
"security:",
" # https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords",
" password_hashers:",
" RedAnt\\SecurityBundle\\Entity\\User: 'auto'",
"",
" # SecurityBundle User object authentication",
" providers:",
" redant.security.user:",
" entity:",
" class: RedAnt\\SecurityBundle\\Entity\\User",
" property: email",
"",
" firewalls:",
" # Disables authentication for assets and the profiler",
" dev:",
" pattern: ^/(_(profiler|wdt)|css|images|js)/",
" security: false",
"",
" main:",
" lazy: true",
" provider: redant.security.user",
"",
" form_login:",
" username_parameter: '_email'",
" login_path: redant.security.login",
" check_path: redant.security.login",
" entry_point: form_login",
"",
" # Register SecurityBundle logout path",
" logout:",
" path: /logout",
" target: redant.security.login",
"",
" # SecurityBundle Remember me settings",
" remember_me:",
" secret: '%kernel.secret%'",
" lifetime: 604800 # 1 week in seconds",
"",
" # Define your role hierarchy here",
" role_hierarchy:",
" ROLE_ADMIN: ROLE_USER"
],
"executable": false
},
"config/packages/redant_security.yaml": {
"contents": [
"redant_security:",
" # You can create a custom form type and define the FQCN to that form here",
" # Add user form class ex. new userType form",
" user_form_class: RedAnt\\AppsBundle\\Form\\UserType",
"",
" # Default login template",
" login_template: '@RedAntSecurity/login.html.twig' ",
"",
" # Redirect to this route after login",
" redirection_route: 'location.dashboard'",
"",
" # Email address password reset messages are sent from",
" from_email: '[email protected]'",
"",
" # This enables registration for the application. Default: false",
" allow_registration: false"
],
"executable": false
},
"config/routes/redant_security.yaml": {
"contents": [
"redant_security:",
" resource: \"@RedAntSecurityBundle/Controller\"",
" type: attribute",
" prefix: /"
],
"executable": false
}
},
"ref": "888de6bfbc42ca58117bfdb3095df459c4ef5fe2"
}
}
}