|
6 | 6 | | Google application name |
7 | 7 | |---------------------------------------------------------------------------- |
8 | 8 | */ |
9 | | - 'application_name' => '', |
| 9 | + 'application_name' => env('GOOGLE_APPLICATION_NAME', ''), |
10 | 10 |
|
11 | 11 | /* |
12 | 12 | |---------------------------------------------------------------------------- |
|
17 | 17 | | https://developers.google.com/console |
18 | 18 | | |
19 | 19 | */ |
20 | | - 'client_id' => '', |
21 | | - 'client_secret' => '', |
22 | | - 'redirect_uri' => '', |
| 20 | + 'client_id' => env('GOOGLE_CLIENT_ID', ''), |
| 21 | + 'client_secret' => env('GOOGLE_CLIENT_SECRET', ''), |
| 22 | + 'redirect_uri' => env('GOOGLE_REDIRECT', ''), |
23 | 23 | 'scopes' => [], |
24 | 24 | 'access_type' => 'online', |
25 | 25 | 'approval_prompt' => 'auto', |
|
33 | 33 | | a Server key, and not a Browser key. |
34 | 34 | | |
35 | 35 | */ |
36 | | - 'developer_key' => '', |
| 36 | + 'developer_key' => env('GOOGLE_DEVELOPER_KEY', ''), |
37 | 37 |
|
38 | 38 | /* |
39 | 39 | |---------------------------------------------------------------------------- |
|
48 | 48 | /* |
49 | 49 | | Enable service account auth or not. |
50 | 50 | */ |
51 | | - 'enable' => false, |
| 51 | + 'enable' => env('GOOGLE_SERVICE_ENABLED', false), |
52 | 52 |
|
53 | 53 | /* |
54 | 54 | |
55 | 55 | */ |
56 | | - 'account' => '', |
| 56 | + 'account' => env('GOOGLE_SERVICE_ACCOUNT', ''), |
57 | 57 |
|
58 | 58 | /* |
59 | 59 | | Example ['https://www.googleapis.com/auth/cloud-platform'] |
|
64 | 64 | | Path to key file |
65 | 65 | | Example storage_path().'/key/google.p12' |
66 | 66 | */ |
67 | | - 'key' => '', |
| 67 | + 'key' => storage_path().env('GOOGLE_SERVICE_KEY', ''), |
68 | 68 | ], |
69 | 69 | ]; |
0 commit comments