Skip to content

Commit c3bd7ed

Browse files
committed
docs: Update OAUTH documentation to reflect a deprecation of a method
1 parent e009e9c commit c3bd7ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/oauth-web.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ require_once __DIR__.'/vendor/autoload.php';
353353
session_start();
354354
355355
$client = new Google\Client();
356-
$client->setAuthConfigFile('client_secrets.json');
356+
$client->setAuthConfig('client_secrets.json');
357357
$client->setRedirectUri('http://' . $_SERVER['HTTP_HOST'] . '/oauth2callback.php');
358358
$client->addScope(Google\Service\Drive::DRIVE_METADATA_READONLY);
359359
@@ -421,4 +421,4 @@ $client->revokeToken();
421421
422422
**Note:** Following a successful revocation response, it might take some time before the revocation has full effect.
423423
424-
Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see our [Site Policies](https://developers.google.com/terms/site-policies). Java is a registered trademark of Oracle and/or its affiliates.
424+
Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see our [Site Policies](https://developers.google.com/terms/site-policies). Java is a registered trademark of Oracle and/or its affiliates.

0 commit comments

Comments
 (0)