mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-20 20:06:30 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c196128f3b |
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"manifests": {
|
||||
"calliostro/spotify-web-api-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Calliostro\\SpotifyWebApiBundle\\CalliostroSpotifyWebApiBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"SPOTIFY_CLIENT_ID": "",
|
||||
"SPOTIFY_CLIENT_SECRET": "",
|
||||
"#SPOTIFY_REDIRECT_URI": ""
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/calliostro_spotify_web_api.yaml": {
|
||||
"contents": [
|
||||
"calliostro_spotify_web_api:",
|
||||
" # Your Client ID from the Spotify Developer Dashboard (https://developer.spotify.com/dashboard/applications)",
|
||||
" client_id: '%env(SPOTIFY_CLIENT_ID)%'",
|
||||
"",
|
||||
" # Your Client Secret",
|
||||
" client_secret: '%env(SPOTIFY_CLIENT_SECRET)%'",
|
||||
"",
|
||||
" # Optional: Address to redirect to after authentication success OR failure (required for Authorization Code flow)",
|
||||
" # redirect_uri: '%env(SPOTIFY_REDIRECT_URI)%'",
|
||||
"",
|
||||
" # Optional: Client options for jwilsson/spotify-web-api-php",
|
||||
" # options:",
|
||||
" # auto_refresh: false",
|
||||
" # auto_retry: false",
|
||||
" # return_assoc: false",
|
||||
"",
|
||||
" # Optional: Custom token provider service (defaults to built-in Client Credentials TokenProvider)",
|
||||
" # token_provider: calliostro_spotify_web_api.token_provider",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "e37028111d87a7ae99ed6785dc5c5e17e888433d"
|
||||
}
|
||||
}
|
||||
}
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"aliases": [],
|
||||
"recipes": {
|
||||
"m4n50n/oauth2-azure-bundle": [
|
||||
"0.1"
|
||||
"calliostro/spotify-web-api-bundle": [
|
||||
"1.0"
|
||||
]
|
||||
},
|
||||
"recipe-conflicts": [],
|
||||
@@ -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-1595/{package_dotted}.{version}.json",
|
||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2062/{package_dotted}.{version}.json",
|
||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1595/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2062/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
{
|
||||
"manifests": {
|
||||
"m4n50n/oauth2-azure-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"M4n50n\\OAuth2AzureBundle\\OAuth2AzureBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"composer-scripts": {
|
||||
"cache:clear": "symfony-cmd"
|
||||
},
|
||||
"env": {
|
||||
"AUTH_CLIEN_ID": "",
|
||||
"AUTH_CLIENT_PASS": "",
|
||||
"AUTH_TENANT": "",
|
||||
"AUTH_REDIRECT_URI": "",
|
||||
"AUTH_REDIRECT_TO_URL": false,
|
||||
"AUTH_REDIRECT_URL": ""
|
||||
},
|
||||
"gitignore": [
|
||||
".env",
|
||||
"/var/",
|
||||
"/vendor/"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/oauth2_azure.yaml": {
|
||||
"contents": [
|
||||
"o_auth2_azure:",
|
||||
" clientId: '%env(AUTH_CLIEN_ID)%'",
|
||||
" clientSecret: '%env(AUTH_CLIENT_PASS)%'",
|
||||
" tenant: '%env(AUTH_TENANT)%'",
|
||||
" redirectUri: '%env(AUTH_REDIRECT_URI)%'",
|
||||
"",
|
||||
" # Optional",
|
||||
" redirectToUrl: '%env(bool:AUTH_REDIRECT_TO_URL)%' # Activate redirect after authentication",
|
||||
" redirectUrl: '%env(AUTH_REDIRECT_URL)%' # URL to redirect after authentication",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "5a9d91da8b994ae18ccf3b1a609168c0b1ed0045"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user