|
8 | 8 | * Default Firebase project |
9 | 9 | * ------------------------------------------------------------------------ |
10 | 10 | */ |
| 11 | + |
11 | 12 | 'default' => env('FIREBASE_PROJECT', 'app'), |
12 | 13 |
|
13 | 14 | /* |
14 | 15 | * ------------------------------------------------------------------------ |
15 | 16 | * Firebase project configurations |
16 | 17 | * ------------------------------------------------------------------------ |
17 | 18 | */ |
| 19 | + |
18 | 20 | 'projects' => [ |
19 | 21 | 'app' => [ |
| 22 | + |
20 | 23 | /* |
21 | 24 | * ------------------------------------------------------------------------ |
22 | 25 | * Credentials / Service Account |
|
46 | 49 | * first time you try to access a component of the Firebase Admin SDK. |
47 | 50 | * |
48 | 51 | */ |
| 52 | + |
49 | 53 | 'credentials' => env('FIREBASE_CREDENTIALS', env('GOOGLE_APPLICATION_CREDENTIALS')), |
50 | 54 |
|
51 | 55 | /* |
|
65 | 69 | */ |
66 | 70 |
|
67 | 71 | 'database' => [ |
| 72 | + |
68 | 73 | /* |
69 | 74 | * In most of the cases the project ID defined in the credentials file |
70 | 75 | * determines the URL of your project's Realtime Database. If the |
|
76 | 81 | * Please make sure that you use a full URL like, for example, |
77 | 82 | * https://my-project-id.firebaseio.com |
78 | 83 | */ |
| 84 | + |
79 | 85 | 'url' => env('FIREBASE_DATABASE_URL'), |
80 | 86 |
|
81 | 87 | /* |
|
85 | 91 | * |
86 | 92 | * https://firebase.google.com/docs/database/admin/start#authenticate-with-limited-privileges |
87 | 93 | */ |
| 94 | + |
88 | 95 | // 'auth_variable_override' => [ |
89 | 96 | // 'uid' => 'my-service-worker' |
90 | 97 | // ], |
| 98 | + |
91 | 99 | ], |
92 | 100 |
|
93 | 101 | 'dynamic_links' => [ |
| 102 | + |
94 | 103 | /* |
95 | 104 | * Dynamic links can be built with any URL prefix registered on |
96 | 105 | * |
|
102 | 111 | * The value must be a valid domain, for example, |
103 | 112 | * https://example.page.link |
104 | 113 | */ |
| 114 | + |
105 | 115 | 'default_domain' => env('FIREBASE_DYNAMIC_LINKS_DEFAULT_DOMAIN'), |
106 | 116 | ], |
107 | 117 |
|
|
112 | 122 | */ |
113 | 123 |
|
114 | 124 | 'storage' => [ |
| 125 | + |
115 | 126 | /* |
116 | 127 | * Your project's default storage bucket usually uses the project ID |
117 | 128 | * as its name. If you have multiple storage buckets and want to |
|
120 | 131 | */ |
121 | 132 |
|
122 | 133 | 'default_bucket' => env('FIREBASE_STORAGE_DEFAULT_BUCKET'), |
| 134 | + |
123 | 135 | ], |
124 | 136 |
|
125 | 137 | /* |
|
162 | 174 | * |
163 | 175 | * Behavior of the HTTP Client performing the API requests |
164 | 176 | */ |
| 177 | + |
165 | 178 | 'http_client_options' => [ |
| 179 | + |
166 | 180 | /* |
167 | 181 | * Use a proxy that all API requests should be passed through. |
168 | 182 | * (default: none) |
169 | 183 | */ |
| 184 | + |
170 | 185 | 'proxy' => env('FIREBASE_HTTP_CLIENT_PROXY'), |
171 | 186 |
|
172 | 187 | /* |
|
176 | 191 | * The default time out can be reviewed at |
177 | 192 | * https://github.com/kreait/firebase-php/blob/6.x/src/Firebase/Http/HttpClientOptions.php |
178 | 193 | */ |
| 194 | + |
179 | 195 | 'timeout' => env('FIREBASE_HTTP_CLIENT_TIMEOUT'), |
180 | 196 |
|
181 | 197 | 'guzzle_middlewares' => [], |
|
0 commit comments