mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 23:26:40 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3813e9640c |
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+12
-38
@@ -19,24 +19,15 @@
|
|||||||
"<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` :",
|
|
||||||
"",
|
"",
|
||||||
"```env",
|
"Ajoutez les variables d'environnement suivantes \u00e0 votre fichier .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://gitlab.com/BenjaminYAO/axium-identity"
|
"https://github.com/BenjaminYAO/axium-identity"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
@@ -51,40 +42,23 @@
|
|||||||
],
|
],
|
||||||
"executable": false
|
"executable": false
|
||||||
},
|
},
|
||||||
"config/packages/axium_identity_security.yaml.dist": {
|
"config/routes/axium_identity.yaml": {
|
||||||
"contents": [
|
"contents": [
|
||||||
"security:",
|
"axium_identity_login:",
|
||||||
" password_hashers:",
|
" path: /login",
|
||||||
" Symfony\\Component\\Security\\Core\\User\\PasswordAuthenticatedUserInterface: 'auto'",
|
" controller: Axium\\Identity\\Controller\\SecurityController::login",
|
||||||
|
" methods: [GET, POST]",
|
||||||
"",
|
"",
|
||||||
" providers:",
|
"axium_identity_logout:",
|
||||||
" app_user_provider:",
|
" path: /logout",
|
||||||
" entity:",
|
" controller: Axium\\Identity\\Controller\\SecurityController::logout",
|
||||||
" 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": "7120857f6e8e23a61f13ef48c8e1bf14af99ccb3"
|
"ref": "37d5f5a6b1cb522f38f888ecbeb736b3fae1a886"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+5
-2
@@ -1,6 +1,9 @@
|
|||||||
{
|
{
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
"recipes": {
|
"recipes": {
|
||||||
|
"atlas/symfony": [
|
||||||
|
"1.0"
|
||||||
|
],
|
||||||
"axium/identity": [
|
"axium/identity": [
|
||||||
"1.0"
|
"1.0"
|
||||||
]
|
]
|
||||||
@@ -12,9 +15,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-2013/{package_dotted}.{version}.json",
|
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2011/{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-2013/archived/{package_dotted}/{ref}.json",
|
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2011/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