We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd88a82 + 7046e4d commit 5aa8760Copy full SHA for 5aa8760
UPGRADING.md
@@ -141,6 +141,24 @@ $user_to_impersonate = '[email protected]';
141
$client->setSubject($user_to_impersonate);
142
```
143
144
+Additionally, `Google_Client::loadServiceAccountJson` has been removed in favor
145
+of `Google_Client::setAuthConfig`:
146
+
147
+**Before**
148
149
+```php
150
+$scopes = [ Google_Service_Books::BOOKS ];
151
+$client->loadServiceAccountJson('/path/to/service-account.json', $scopes);
152
+```
153
154
+**After**
155
156
157
158
+$client->setAuthConfig('/path/to/service-account.json');
159
+$client->setScopes($scopes);
160
161
162
## `Google_Auth_AppIdentity` has been removed
163
164
For App Engine authentication, we now use the underlying [`google/auth`][Google Auth] and
0 commit comments