From: Raphaƫl Gertz Date: Tue, 27 Feb 2024 10:56:19 +0000 (+0100) Subject: Readd config packages google api-client yaml file X-Git-Tag: 0.1.0~36 X-Git-Url: https://git.rapsys.eu/airlibre/commitdiff_plain/ff645b25a4b5b5e8c2aa08adff365f0be96523b8?hp=46a09313b247baa1f47f337982c865f03a28697f Readd config packages google api-client yaml file --- 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)%']]