X-Git-Url: https://git.rapsys.eu/airlibre/blobdiff_plain/d790c6b88503ae0a2dd43d79215287b1b311c8f9..0297a5f3df05d9a3f8013bba0ab5ffc2b525d465:/config/packages/google_apiclient.yaml diff --git a/config/packages/google_apiclient.yaml b/config/packages/google_apiclient.yaml index 4809e14..70b4b80 100644 --- a/config/packages/google_apiclient.yaml +++ b/config/packages/google_apiclient.yaml @@ -1,7 +1,11 @@ services: - Google_Client: - class: Google_Client + 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)%']]