]> Raphaƫl G. Git Repositories - airlibre/blobdiff - config/packages/google_apiclient.yaml
Comment user in memory to enable air bundle auth
[airlibre] / config / packages / google_apiclient.yaml
index 4809e1486a41d77bdb40380e503ee33e21b447e4..70b4b80cb776efc51fea507cbd1fb6dda59c24a4 100644 (file)
@@ -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)%']]