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