X-Git-Url: https://git.rapsys.eu/airlibre/blobdiff_plain/d790c6b88503ae0a2dd43d79215287b1b311c8f9..14b430ab025a6525a8de3600953fc651ed30d7ea:/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)%']]