Skip to content

Commit 98db6ca

Browse files
authored
docs: Update the documentation link for GoogleCredential from deprecated version to newer version (#1652)
* Updated the link to GoogleCredential * Changed the documentation to GoogleCredential to newer version * Removed typos from oauth-2.0.md
1 parent 9e34f37 commit 98db6ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/oauth-2.0.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
517517
credential.setSelectedAccountName(accountName);
518518
SharedPreferences settings = getPreferences(Context.MODE_PRIVATE);
519519
SharedPreferences.Editor editor = settings.edit();
520-
editor.putString(PREF_ACCOUNT_NAME, accountName);
520+
editor.putString(PREF_ACCOUNT_NAME, accountName);
521521
editor.commit();
522522
AsyncLoadTasks.run(this);
523523
}
@@ -527,13 +527,13 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
527527
}
528528
```
529529
530-
[google-credential]: https://googleapis.dev/java/google-api-client/latest/com/google/api/client/googleapis/auth/oauth2/GoogleCredential.html
530+
[google-credential]: https://googleapis.dev/java/google-auth-library/latest/com/google/auth/oauth2/GoogleCredentials.html
531531
[google-oauth-client-instructions]: https://developers.google.com/api-client-library/java/google-oauth-java-client/oauth2
532532
[oauth2]: https://developers.google.com/accounts/docs/OAuth2
533533
[javadoc-oauth2]: https://googleapis.dev/java/google-api-client/latest/com/google/api/client/googleapis/auth/oauth2/package-frame.html
534534
[javadoc-appengine-oauth2]: https://googleapis.dev/java/google-api-client/latest/com/google/api/client/googleapis/extensions/appengine/auth/oauth2/package-frame.html
535535
[console]: https://console.developers.google.com/
536-
[console-help]: https://developer.google.com/console/help/console/
536+
[console-help]: https://developer.google.com/console/help/console/
537537
[identity-api]: https://cloud.google.com/appengine/docs/java/appidentity/?csw=1#Asserting_Identity_to_Google_APIs
538538
[app-identity-credential]: https://googleapis.dev/java/google-api-client/latest/com/google/api/client/googleapis/extensions/appengine/auth/oauth2/AppIdentityCredential.html
539539
[urlshortener-sample]: https://github.com/google/google-api-java-client-samples/tree/master/urlshortener-robots-appengine-sample

0 commit comments

Comments
 (0)