From ab9beceec9a256de096fc05b6e66abe2a7c83de7 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Wed, 9 Jun 2021 11:48:06 +0200 Subject: [PATCH] Add basic recipe for eu-login-api-authentication-bundle. --- .../packages/dev/eu_login_api_authentication.yaml | 4 ++++ .../routes/dev/eu_login_api_authentication.yaml | 3 +++ .../1.0/manifest.json | 13 +++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 ecphp/eu-login-api-authentication-bundle/1.0/config/packages/dev/eu_login_api_authentication.yaml create mode 100644 ecphp/eu-login-api-authentication-bundle/1.0/config/routes/dev/eu_login_api_authentication.yaml create mode 100644 ecphp/eu-login-api-authentication-bundle/1.0/manifest.json diff --git a/ecphp/eu-login-api-authentication-bundle/1.0/config/packages/dev/eu_login_api_authentication.yaml b/ecphp/eu-login-api-authentication-bundle/1.0/config/packages/dev/eu_login_api_authentication.yaml new file mode 100644 index 00000000..6ae89f4d --- /dev/null +++ b/ecphp/eu-login-api-authentication-bundle/1.0/config/packages/dev/eu_login_api_authentication.yaml @@ -0,0 +1,4 @@ +eu_login_api_authentication: + client_id: "%env(EULOGIN_CLIENT_ID)%" + client_secret: "%env(EULOGIN_CLIENT_SECRET)%" + environment: "%env(EULOGIN_ENV)%" # Available values are: acceptance, production diff --git a/ecphp/eu-login-api-authentication-bundle/1.0/config/routes/dev/eu_login_api_authentication.yaml b/ecphp/eu-login-api-authentication-bundle/1.0/config/routes/dev/eu_login_api_authentication.yaml new file mode 100644 index 00000000..41181288 --- /dev/null +++ b/ecphp/eu-login-api-authentication-bundle/1.0/config/routes/dev/eu_login_api_authentication.yaml @@ -0,0 +1,3 @@ +eu_login_api_authentication: + resource: '@EuLoginApiAuthenticationBundle/Resources/config/routes/routes.php' + prefix: /api diff --git a/ecphp/eu-login-api-authentication-bundle/1.0/manifest.json b/ecphp/eu-login-api-authentication-bundle/1.0/manifest.json new file mode 100644 index 00000000..83ad7a43 --- /dev/null +++ b/ecphp/eu-login-api-authentication-bundle/1.0/manifest.json @@ -0,0 +1,13 @@ +{ + "bundles": { + "EcPhp\\EuLoginApiAuthenticationBundle\\EuLoginApiAuthenticationBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "EULOGIN_CLIENT_ID": "", + "EULOGIN_CLIENT_SECRET": "", + "EULOGIN_ENV": "acceptance" + } +}