]> Raphaƫl G. Git Repositories - airlibre/blob - config/packages/google_apiclient.yaml
Sort bundles
[airlibre] / config / packages / google_apiclient.yaml
1 services:
2 Google\Client:
3 class: Google\Client
4 calls:
5 # Authentication with "API key"
6 - [setDeveloperKey, ['%env(GOOGLE_API_KEY)%']]
7 # Authentication with "OAuth 2.0" using Client ID & Secret
8 - [setClientId, ['%env(GOOGLE_CLIENT_ID)%']]
9 - [setClientSecret, ['%env(GOOGLE_CLIENT_SECRET)%']]
10 # Authentication with "OAuth 2.0" or "Service account" using JSON
11 - [setAuthConfig, ['%env(resolve:GOOGLE_AUTH_CONFIG)%']]