Update Flex endpoint

This commit is contained in:
github-action[bot]
2026-02-03 01:03:44 +00:00
parent 2e38b10cf2
commit ef295e949b
4 changed files with 196 additions and 0 deletions
+1
View File
@@ -253,6 +253,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github.
| [gurtok/seo-bundle](https://packagist.org/packages/gurtok/seo-bundle) | [1.0](gurtok/seo-bundle/1.0) |
| [hakam/multi-tenancy-bundle](https://packagist.org/packages/hakam/multi-tenancy-bundle) | [2.8](hakam/multi-tenancy-bundle/2.8) |
| [hans-peter-ording/nflfastr-symfony-bundle](https://packagist.org/packages/hans-peter-ording/nflfastr-symfony-bundle) | [0.9](hans-peter-ording/nflfastr-symfony-bundle/0.9) |
| [happycode/tenzero-auth](https://packagist.org/packages/happycode/tenzero-auth) | [1.1](happycode/tenzero-auth/1.1) |
| [happyr/entity-exists-validation-constraint](https://packagist.org/packages/happyr/entity-exists-validation-constraint) | [1.0](happyr/entity-exists-validation-constraint/1.0) |
| [happyr/json-api-response-factory](https://packagist.org/packages/happyr/json-api-response-factory) | [0.1](happyr/json-api-response-factory/0.1) |
| [happyr/linkedin-api-client](https://packagist.org/packages/happyr/linkedin-api-client) | [1.0](happyr/linkedin-api-client/1.0) |
@@ -0,0 +1,96 @@
{
"manifests": {
"happycode/tenzero-auth": {
"manifest": {
"bundles": {
"Happycode\\TenZeroAuth\\TenZeroAuthBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"post-install-output": [
"Thanks for installing Happycode TenZeroAuth!",
"",
"Next steps (recommended):",
"",
"1) Configure the bundle",
" Add a config file (or edit your existing one):",
" config/packages/happycode_tenzero_auth.yaml",
"",
" Minimal example:",
"",
" happycode_tenzero_auth:",
" user_class: App\\Entity\\User",
" user_field: email",
"",
" Notes:",
" - user_class must be your Doctrine User entity class.",
" - user_field is the identifier field used for login (e.g. \"email\" or \"username\").",
"",
"2) Ensure your User entity is compatible",
" Your App\\Entity\\User should extend the bundle base user model provided by TenZeroAuth.",
" If you haven\u2019t created your User entity yet, generate it (or update it) accordingly",
"",
"3) JWT keys / ENV vars",
" This bundle expects JWT configuration via environment variables.",
" Add these to your .env.local (values are placeholders):",
"",
" JWT_SECRET_KEY=\"[%PROJECT_DIR%]/config/jwt/private.pem\"",
" JWT_PUBLIC_KEY=\"[%PROJECT_DIR%]/config/jwt/public.pem\"",
" JWT_PASSPHRASE=\"<your-passphrase>\"",
"",
" Then generate the keypair (if you haven\u2019t already), e.g. using the tooling recommended",
" by your JWT bundle, and ensure the files exist at the configured paths.",
"",
"4) Database / migrations",
" If this recipe adds entities or mapping, generate & run migrations:",
"",
" php bin/console doctrine:migrations:diff",
" php bin/console doctrine:migrations:migrate",
"",
"5) Routes / UI",
" After install, you should have auth endpoints available (login/logout, and optionally register).",
" Start your server and verify the auth screens load correctly.",
"",
"6) Optional: customize",
" You can override defaults such as:",
" - theme",
" - app_name / app_description",
" - enable_register",
" - login_redirect_url / logout_redirect_url",
" - token_ttl, reset_password_link_ttl",
" - access_control overrides (advanced)",
"",
"If something doesn\u2019t work, double-check:",
"- Your user_class exists and autoloads",
"- Your user_class is the expected base type for this bundle",
"- Your user_field exists on the user (property or getter)",
"- JWT keys and passphrase are correct"
]
},
"files": {
"config/packages/happycode_tenzero_auth.yaml": {
"contents": [
"happycode_tenzero_auth:",
" # Optional app name displayed in the auth layout.",
" app_name: \"TenZero\"",
"",
" # Optional app description displayed in the auth layout.",
" app_description: \"Built in authentication for TenZero.\"",
"",
" # The class that will be used to authenticate user.",
" user_class: 'App\\Entity\\User'",
"",
" # The field that will be used to identify the user.",
" user_field: \"email\"",
""
],
"executable": false
}
},
"ref": "7d20d0a2f473c26fb0d8f7f7af969b84db3dbe65"
}
}
}
+96
View File
@@ -0,0 +1,96 @@
{
"manifests": {
"happycode/tenzero-auth": {
"manifest": {
"bundles": {
"Happycode\\TenZeroAuth\\TenZeroAuthBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"post-install-output": [
"Thanks for installing Happycode TenZeroAuth!",
"",
"Next steps (recommended):",
"",
"1) Configure the bundle",
" Add a config file (or edit your existing one):",
" config/packages/happycode_tenzero_auth.yaml",
"",
" Minimal example:",
"",
" happycode_tenzero_auth:",
" user_class: App\\Entity\\User",
" user_field: email",
"",
" Notes:",
" - user_class must be your Doctrine User entity class.",
" - user_field is the identifier field used for login (e.g. \"email\" or \"username\").",
"",
"2) Ensure your User entity is compatible",
" Your App\\Entity\\User should extend the bundle base user model provided by TenZeroAuth.",
" If you haven\u2019t created your User entity yet, generate it (or update it) accordingly",
"",
"3) JWT keys / ENV vars",
" This bundle expects JWT configuration via environment variables.",
" Add these to your .env.local (values are placeholders):",
"",
" JWT_SECRET_KEY=\"[%PROJECT_DIR%]/config/jwt/private.pem\"",
" JWT_PUBLIC_KEY=\"[%PROJECT_DIR%]/config/jwt/public.pem\"",
" JWT_PASSPHRASE=\"<your-passphrase>\"",
"",
" Then generate the keypair (if you haven\u2019t already), e.g. using the tooling recommended",
" by your JWT bundle, and ensure the files exist at the configured paths.",
"",
"4) Database / migrations",
" If this recipe adds entities or mapping, generate & run migrations:",
"",
" php bin/console doctrine:migrations:diff",
" php bin/console doctrine:migrations:migrate",
"",
"5) Routes / UI",
" After install, you should have auth endpoints available (login/logout, and optionally register).",
" Start your server and verify the auth screens load correctly.",
"",
"6) Optional: customize",
" You can override defaults such as:",
" - theme",
" - app_name / app_description",
" - enable_register",
" - login_redirect_url / logout_redirect_url",
" - token_ttl, reset_password_link_ttl",
" - access_control overrides (advanced)",
"",
"If something doesn\u2019t work, double-check:",
"- Your user_class exists and autoloads",
"- Your user_class is the expected base type for this bundle",
"- Your user_field exists on the user (property or getter)",
"- JWT keys and passphrase are correct"
]
},
"files": {
"config/packages/happycode_tenzero_auth.yaml": {
"contents": [
"happycode_tenzero_auth:",
" # Optional app name displayed in the auth layout.",
" app_name: \"TenZero\"",
"",
" # Optional app description displayed in the auth layout.",
" app_description: \"Built in authentication for TenZero.\"",
"",
" # The class that will be used to authenticate user.",
" user_class: 'App\\Entity\\User'",
"",
" # The field that will be used to identify the user.",
" user_field: \"email\"",
""
],
"executable": false
}
},
"ref": "7d20d0a2f473c26fb0d8f7f7af969b84db3dbe65"
}
}
}
+3
View File
@@ -799,6 +799,9 @@
"hans-peter-ording/nflfastr-symfony-bundle": [
"0.9"
],
"happycode/tenzero-auth": [
"1.1"
],
"happyr/entity-exists-validation-constraint": [
"1.0"
],