Update Flex endpoint

This commit is contained in:
github-action[bot]
2025-04-07 12:27:32 +00:00
parent a7d46761d9
commit 4db7a7bea2
4 changed files with 137 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith
| [hautelook/alice-bundle](https://packagist.org/packages/hautelook/alice-bundle) | [2.2](hautelook/alice-bundle/2.2) | `alice` | | [hautelook/alice-bundle](https://packagist.org/packages/hautelook/alice-bundle) | [2.2](hautelook/alice-bundle/2.2) | `alice` |
| [javiereguiluz/easyadmin-bundle](https://packagist.org/packages/javiereguiluz/easyadmin-bundle) | [1.17](javiereguiluz/easyadmin-bundle/1.17) | | | [javiereguiluz/easyadmin-bundle](https://packagist.org/packages/javiereguiluz/easyadmin-bundle) | [1.17](javiereguiluz/easyadmin-bundle/1.17) | |
| [league/flysystem-bundle](https://packagist.org/packages/league/flysystem-bundle) | [1.0](league/flysystem-bundle/1.0) | | | [league/flysystem-bundle](https://packagist.org/packages/league/flysystem-bundle) | [1.0](league/flysystem-bundle/1.0) | |
| [league/oauth2-server-bundle](https://packagist.org/packages/league/oauth2-server-bundle) | [0.4](league/oauth2-server-bundle/0.4) | `oauth-server`, `oauth2-server`, `oauth2server`, `oauthserver` | | [league/oauth2-server-bundle](https://packagist.org/packages/league/oauth2-server-bundle) | [0.11](league/oauth2-server-bundle/0.11) | `oauth-server`, `oauth2-server`, `oauth2server`, `oauthserver` |
| [lexik/jwt-authentication-bundle](https://packagist.org/packages/lexik/jwt-authentication-bundle) | [2.5](lexik/jwt-authentication-bundle/2.5) | `jwt`, `jwt-auth`, `jwtauth` | | [lexik/jwt-authentication-bundle](https://packagist.org/packages/lexik/jwt-authentication-bundle) | [2.5](lexik/jwt-authentication-bundle/2.5) | `jwt`, `jwt-auth`, `jwtauth` |
| [nelmio/alice](https://packagist.org/packages/nelmio/alice) | [3.3](nelmio/alice/3.3) | | | [nelmio/alice](https://packagist.org/packages/nelmio/alice) | [3.3](nelmio/alice/3.3) | |
| [nelmio/cors-bundle](https://packagist.org/packages/nelmio/cors-bundle) | [1.5](nelmio/cors-bundle/1.5) | `cors` | | [nelmio/cors-bundle](https://packagist.org/packages/nelmio/cors-bundle) | [1.5](nelmio/cors-bundle/1.5) | `cors` |
@@ -0,0 +1,67 @@
{
"manifests": {
"league/oauth2-server-bundle": {
"manifest": {
"bundles": {
"League\\Bundle\\OAuth2ServerBundle\\LeagueOAuth2ServerBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"OAUTH_PRIVATE_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/private.pem",
"OAUTH_PUBLIC_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/public.pem",
"OAUTH_PASSPHRASE": "%generate(secret)%",
"OAUTH_ENCRYPTION_KEY": "%generate(secret)%"
},
"post-install-output": [
" 1. <bg=magenta;fg=white> Provide a key pair </>",
" * Generate a private/public key pair by running</> <comment>php bin/console league:oauth2-server:generate-keypair</>",
"",
" 2. <bg=magenta;fg=white> Update the database schema </>",
" * Update your database schema so that bundle entities can be managed by Doctrine",
"",
" 3. <bg=magenta;fg=white> Read the docs </>",
" * Read the documentation at <comment>https://github.com/thephpleague/oauth2-server-bundle/blob/master/docs/index.md</>"
]
},
"files": {
"config/packages/league_oauth2_server.yaml": {
"contents": [
"league_oauth2_server:",
" authorization_server:",
" private_key: '%env(resolve:OAUTH_PRIVATE_KEY)%'",
" private_key_passphrase: '%env(resolve:OAUTH_PASSPHRASE)%'",
" encryption_key: '%env(resolve:OAUTH_ENCRYPTION_KEY)%'",
" resource_server:",
" public_key: '%env(resolve:OAUTH_PUBLIC_KEY)%'",
" scopes:",
" available: ['email']",
" default: ['email']",
" persistence:",
" doctrine: null",
"",
"when@test:",
" league_oauth2_server:",
" persistence:",
" in_memory: null",
""
],
"executable": false
},
"config/routes/league_oauth2_server.yaml": {
"contents": [
"league_oauth2_server:",
" resource: '@LeagueOAuth2ServerBundle/config/routes.php'",
" type: php",
""
],
"executable": false
}
},
"ref": "80320e8e61b51f6965b83a7df1cc9d40bcc3fb78"
}
}
}
+2 -1
View File
@@ -589,7 +589,8 @@
"1.0" "1.0"
], ],
"league/oauth2-server-bundle": [ "league/oauth2-server-bundle": [
"0.4" "0.4",
"0.11"
], ],
"lexik/jwt-authentication-bundle": [ "lexik/jwt-authentication-bundle": [
"2.3", "2.3",
+67
View File
@@ -0,0 +1,67 @@
{
"manifests": {
"league/oauth2-server-bundle": {
"manifest": {
"bundles": {
"League\\Bundle\\OAuth2ServerBundle\\LeagueOAuth2ServerBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"OAUTH_PRIVATE_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/private.pem",
"OAUTH_PUBLIC_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/public.pem",
"OAUTH_PASSPHRASE": "%generate(secret)%",
"OAUTH_ENCRYPTION_KEY": "%generate(secret)%"
},
"post-install-output": [
" 1. <bg=magenta;fg=white> Provide a key pair </>",
" * Generate a private/public key pair by running</> <comment>php bin/console league:oauth2-server:generate-keypair</>",
"",
" 2. <bg=magenta;fg=white> Update the database schema </>",
" * Update your database schema so that bundle entities can be managed by Doctrine",
"",
" 3. <bg=magenta;fg=white> Read the docs </>",
" * Read the documentation at <comment>https://github.com/thephpleague/oauth2-server-bundle/blob/master/docs/index.md</>"
]
},
"files": {
"config/packages/league_oauth2_server.yaml": {
"contents": [
"league_oauth2_server:",
" authorization_server:",
" private_key: '%env(resolve:OAUTH_PRIVATE_KEY)%'",
" private_key_passphrase: '%env(resolve:OAUTH_PASSPHRASE)%'",
" encryption_key: '%env(resolve:OAUTH_ENCRYPTION_KEY)%'",
" resource_server:",
" public_key: '%env(resolve:OAUTH_PUBLIC_KEY)%'",
" scopes:",
" available: ['email']",
" default: ['email']",
" persistence:",
" doctrine: null",
"",
"when@test:",
" league_oauth2_server:",
" persistence:",
" in_memory: null",
""
],
"executable": false
},
"config/routes/league_oauth2_server.yaml": {
"contents": [
"league_oauth2_server:",
" resource: '@LeagueOAuth2ServerBundle/config/routes.php'",
" type: php",
""
],
"executable": false
}
},
"ref": "80320e8e61b51f6965b83a7df1cc9d40bcc3fb78"
}
}
}