X-Git-Url: https://git.rapsys.eu/airlibre/blobdiff_plain/d790c6b88503ae0a2dd43d79215287b1b311c8f9..fbe85f32087808afac6d8a0b86e8ef6db7c2081e:/config/packages/google_apiclient.yaml?ds=sidebyside 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)%']]