mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 15:46:37 +03:00
42 lines
2.4 KiB
JSON
42 lines
2.4 KiB
JSON
{
|
|
"locks": {
|
|
"symfony/security-bundle": {
|
|
"version": "5.3",
|
|
"recipe": {
|
|
"repo": "5.3",
|
|
"branch": "master",
|
|
"version": "5.3",
|
|
"ref": "9c4fcf79873f7400c885b90935f7163233615d6f"
|
|
}
|
|
}
|
|
},
|
|
"manifests": {
|
|
"symfony/security-bundle": {
|
|
"repository": "github.com/symfony/recipes",
|
|
"package": "symfony/security-bundle",
|
|
"version": "5.3",
|
|
"manifest": {
|
|
"bundles": {
|
|
"Symfony\\Bundle\\SecurityBundle\\SecurityBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"aliases": [
|
|
"security"
|
|
]
|
|
},
|
|
"files": {
|
|
"config/packages/security.yaml": {
|
|
"contents": "security:\n # https://symfony.com/doc/current/security/authenticator_manager.html\n enable_authenticator_manager: true\n # https://symfony.com/doc/current/security.html#c-hashing-passwords\n password_hashers:\n Symfony\\Component\\Security\\Core\\User\\PasswordAuthenticatedUserInterface: 'auto'\n # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers\n providers:\n users_in_memory: { memory: null }\n firewalls:\n dev:\n pattern: ^/(_(profiler|wdt)|css|images|js)/\n security: false\n main:\n lazy: true\n provider: users_in_memory\n\n # activate different ways to authenticate\n # https://symfony.com/doc/current/security.html#firewalls-authentication\n\n # https://symfony.com/doc/current/security/impersonating_user.html\n # switch_user: true\n\n # Easy way to control access for large sections of your site\n # Note: Only the *first* access control that matches will be used\n access_control:\n # - { path: ^/admin, roles: ROLE_ADMIN }\n # - { path: ^/profile, roles: ROLE_USER }\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
}
|
|
},
|
|
"origin": "symfony/security-bundle:5.3@github.com/symfony/recipes:master",
|
|
"is_contrib": false
|
|
}
|
|
}
|
|
} |