mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
887f14a917 |
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"manifests": {
|
|
||||||
"atlas/symfony": {
|
|
||||||
"manifest": {
|
|
||||||
"bundles": {
|
|
||||||
"Atlas\\Symfony\\AtlasBundle": [
|
|
||||||
"all"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"copy-from-package": {
|
|
||||||
"Resources/config/atlas.yaml": "%CONFIG_DIR%/packages/atlas.yaml"
|
|
||||||
},
|
|
||||||
"env": {
|
|
||||||
"ATLAS_PDO_DSN": "",
|
|
||||||
"ATLAS_PDO_USERNAME": "",
|
|
||||||
"ATLAS_PDO_PASSWORD": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"files": [],
|
|
||||||
"ref": "59ce1c811d6db5e8c23fd8ecc0fdfa92f00a9dbf"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+38
-12
@@ -19,15 +19,24 @@
|
|||||||
"<bg=blue;fg=white> AXIUM Identity Bundle </>",
|
"<bg=blue;fg=white> AXIUM Identity Bundle </>",
|
||||||
"",
|
"",
|
||||||
"Le bundle a \u00e9t\u00e9 install\u00e9 avec succ\u00e8s.",
|
"Le bundle a \u00e9t\u00e9 install\u00e9 avec succ\u00e8s.",
|
||||||
|
"Ajoutez les variables d'environnement suivantes dans votre fichier `.env` :",
|
||||||
"",
|
"",
|
||||||
"Ajoutez les variables d'environnement suivantes \u00e0 votre fichier .env :",
|
"```env",
|
||||||
"",
|
|
||||||
"AXIUM_IDENTITY_URL=https://identity.example.com",
|
"AXIUM_IDENTITY_URL=https://identity.example.com",
|
||||||
"AXIUM_CLIENT_ID=your-client-id",
|
"AXIUM_CLIENT_ID=your-client-id",
|
||||||
"AXIUM_CLIENT_SECRET=your-client-secret",
|
"AXIUM_CLIENT_SECRET=your-client-secret",
|
||||||
"",
|
"",
|
||||||
|
"## Configuration de s\u00e9curit\u00e9",
|
||||||
|
"",
|
||||||
|
"Copiez le fichier d'exemple de configuration de s\u00e9curit\u00e9 :",
|
||||||
|
"",
|
||||||
|
"```bash",
|
||||||
|
"cp config/packages/axium_identity_security.yaml.dist config/packages/security.yaml",
|
||||||
|
"",
|
||||||
|
"Puis adaptez la configuration selon les besoins de votre projet.",
|
||||||
|
"",
|
||||||
"Documentation:",
|
"Documentation:",
|
||||||
"https://github.com/BenjaminYAO/axium-identity"
|
"https://gitlab.com/BenjaminYAO/axium-identity"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
@@ -42,23 +51,40 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/routes/axium_identity.yaml": {
|
"config/packages/axium_identity_security.yaml.dist": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"axium_identity_login:",
|
"security:",
|
||||||
" path: /login",
|
" password_hashers:",
|
||||||
" controller: Axium\\Identity\\Controller\\SecurityController::login",
|
" Symfony\\Component\\Security\\Core\\User\\PasswordAuthenticatedUserInterface: 'auto'",
|
||||||
" methods: [GET, POST]",
|
|
||||||
"",
|
"",
|
||||||
"axium_identity_logout:",
|
" providers:",
|
||||||
" path: /logout",
|
" app_user_provider:",
|
||||||
" controller: Axium\\Identity\\Controller\\SecurityController::logout",
|
" entity:",
|
||||||
|
" class: App\\Entity\\User",
|
||||||
|
" property: email",
|
||||||
"",
|
"",
|
||||||
|
" firewalls:",
|
||||||
|
" dev:",
|
||||||
|
" pattern: ^/(_profiler|_wdt|assets|build)/",
|
||||||
|
" security: false",
|
||||||
|
"",
|
||||||
|
" main:",
|
||||||
|
" lazy: true",
|
||||||
|
" provider: app_user_provider",
|
||||||
|
" custom_authenticator:",
|
||||||
|
" - Axium\\Identity\\Security\\IdentityAuthenticator",
|
||||||
|
" logout:",
|
||||||
|
" path: app_logout",
|
||||||
|
" target: app_login",
|
||||||
|
"",
|
||||||
|
" access_control:",
|
||||||
|
" - { path: ^/dashboard, roles: ROLE_USER }",
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "37d5f5a6b1cb522f38f888ecbeb736b3fae1a886"
|
"ref": "7120857f6e8e23a61f13ef48c8e1bf14af99ccb3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-5
@@ -1,9 +1,6 @@
|
|||||||
{
|
{
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
"recipes": {
|
"recipes": {
|
||||||
"atlas/symfony": [
|
|
||||||
"1.0"
|
|
||||||
],
|
|
||||||
"axium/identity": [
|
"axium/identity": [
|
||||||
"1.0"
|
"1.0"
|
||||||
]
|
]
|
||||||
@@ -15,9 +12,9 @@
|
|||||||
"_links": {
|
"_links": {
|
||||||
"repository": "github.com/symfony/recipes-contrib",
|
"repository": "github.com/symfony/recipes-contrib",
|
||||||
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
||||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2011/{package_dotted}.{version}.json",
|
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2013/{package_dotted}.{version}.json",
|
||||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2011/archived/{package_dotted}/{ref}.json",
|
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2013/archived/{package_dotted}/{ref}.json",
|
||||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user