From ff645b25a4b5b5e8c2aa08adff365f0be96523b8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Tue, 27 Feb 2024 11:56:19 +0100 Subject: [PATCH] Readd config packages google api-client yaml file --- config/packages/google_apiclient.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/packages/google_apiclient.yaml diff --git a/config/packages/google_apiclient.yaml b/config/packages/google_apiclient.yaml new file mode 100644 index 0000000..70b4b80 --- /dev/null +++ b/config/packages/google_apiclient.yaml @@ -0,0 +1,11 @@ +services: + Google\Client: + class: Google\Client + calls: + # Authentication with "API key" + - [setDeveloperKey, ['%env(GOOGLE_API_KEY)%']] + # Authentication with "OAuth 2.0" using Client ID & Secret + - [setClientId, ['%env(GOOGLE_CLIENT_ID)%']] + - [setClientSecret, ['%env(GOOGLE_CLIENT_SECRET)%']] + # Authentication with "OAuth 2.0" or "Service account" using JSON + - [setAuthConfig, ['%env(resolve:GOOGLE_AUTH_CONFIG)%']] -- 2.41.0