Compare commits

..
Author SHA1 Message Date
github-action[bot]andgithub-action[bot] 887f14a917 Create Flex endpoint 2026-07-20 09:25:30 +00:00
2 changed files with 45 additions and 14 deletions
+43 -12
View File
@@ -10,19 +10,33 @@
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"AXIUM_IDENTITY_URL": "https://identity.example.com",
"AXIUM_CLIENT_ID": "your-client-id",
"AXIUM_CLIENT_SECRET": "your-client-secret"
},
"post-install-output": [
"<bg=blue;fg=white> AXIUM Identity Bundle </>",
"",
"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_CLIENT_ID=your-client-id",
"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:",
"https://github.com/BenjaminYAO/axium-identity"
"https://gitlab.com/BenjaminYAO/axium-identity"
]
},
"files": {
@@ -37,23 +51,40 @@
],
"executable": false
},
"config/routes/axium_identity.yaml": {
"config/packages/axium_identity_security.yaml.dist": {
"contents": [
"axium_identity_login:",
" path: /login",
" controller: Axium\\Identity\\Controller\\SecurityController::login",
" methods: [GET, POST]",
"security:",
" password_hashers:",
" Symfony\\Component\\Security\\Core\\User\\PasswordAuthenticatedUserInterface: 'auto'",
"",
"axium_identity_logout:",
" path: /logout",
" controller: Axium\\Identity\\Controller\\SecurityController::logout",
" providers:",
" app_user_provider:",
" 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
}
},
"ref": "63c4e8b612a009077e68f213f18fd9276cbf0045"
"ref": "7120857f6e8e23a61f13ef48c8e1bf14af99ccb3"
}
}
}
+2 -2
View File
@@ -12,9 +12,9 @@
"_links": {
"repository": "github.com/symfony/recipes-contrib",
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2012/{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",
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2012/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"
}
}