mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 23:56:25 +03:00
Create Flex endpoint
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"aliases": {
|
||||
"csrf": "symfony/security-csrf",
|
||||
"form": "symfony/form",
|
||||
"security-csrf": "symfony/security-csrf",
|
||||
"securitycsrf": "symfony/security-csrf"
|
||||
},
|
||||
"recipes": {
|
||||
"symfony/form": [
|
||||
"7.2",
|
||||
"8.2"
|
||||
],
|
||||
"symfony/security-csrf": [
|
||||
"8.2"
|
||||
]
|
||||
},
|
||||
"recipe-conflicts": [],
|
||||
"versions": [],
|
||||
"branch": "main",
|
||||
"is_contrib": false,
|
||||
"_links": {
|
||||
"repository": "github.com/symfony/recipes",
|
||||
"origin_template": "{package}:{version}@github.com/symfony/recipes:main",
|
||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1554/{package_dotted}.{version}.json",
|
||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1554/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/form": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/csrf.yaml": {
|
||||
"contents": [
|
||||
"# Enable stateless CSRF protection for forms and logins/logouts",
|
||||
"framework:",
|
||||
" form:",
|
||||
" csrf_protection:",
|
||||
" token_id: submit",
|
||||
"",
|
||||
" csrf_protection:",
|
||||
" stateless_token_ids:",
|
||||
" - submit",
|
||||
" - authenticate",
|
||||
" - logout",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "7d86a6723f4a623f59e2bf966b6aad2fc461d36b"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/form": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/form.yaml": {
|
||||
"contents": [
|
||||
"# Enable stateless CSRF protection for forms",
|
||||
"framework:",
|
||||
" form:",
|
||||
" csrf_protection:",
|
||||
" token_id: submit",
|
||||
"",
|
||||
" csrf_protection:",
|
||||
" stateless_token_ids:",
|
||||
" - submit",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "defbe838cb3ec94359b925c04145d703020522d8"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/security-csrf": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/csrf.yaml": {
|
||||
"contents": [
|
||||
"# Enable stateless CSRF protection",
|
||||
"framework:",
|
||||
" csrf_protection:",
|
||||
" stateless_token_ids:",
|
||||
" - authenticate",
|
||||
" - logout",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "dad688434f25812c46bef6979f83beb38d15fcc4"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user