Skip to content

Commit 5ee8237

Browse files
authored
chore(deps): update dependency com.google.apis:google-api-services-oauth2 to v2-rev20200213-1.30.10 (GoogleCloudPlatform#3344)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | com.google.apis:google-api-services-oauth2 | patch | `v2-rev20200213-1.30.9` -> `v2-rev20200213-1.30.10` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/java-docs-samples).
1 parent 05b4127 commit 5ee8237

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

appengine-java11/oauth2/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<dependency>
7272
<groupId>com.google.apis</groupId>
7373
<artifactId>google-api-services-oauth2</artifactId>
74-
<version>v2-rev20200213-1.30.9</version>
74+
<version>v2-rev20200213-1.30.10</version>
7575
<scope>provided</scope>
7676
</dependency>
7777
<!-- [END gae_java11_oauth2_dependencies] -->

appengine-java11/oauth2/src/main/java/com/example/appengine/Utils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import com.google.api.client.json.jackson2.JacksonFactory;
2626
import com.google.api.client.util.store.MemoryDataStoreFactory;
2727
import com.google.api.services.oauth2.Oauth2;
28-
import com.google.api.services.oauth2.model.Userinfoplus;
28+
import com.google.api.services.oauth2.model.Userinfo;
2929
import java.io.IOException;
3030
import java.util.Arrays;
3131
import java.util.List;
@@ -100,7 +100,7 @@ public static String getUserInfo(Credential credential) throws IOException {
100100
.build();
101101

102102
// Retrieve user profile
103-
Userinfoplus userInfo = oauth2Client.userinfo().get().execute();
103+
Userinfo userInfo = oauth2Client.userinfo().get().execute();
104104
String username = userInfo.getGivenName();
105105
return username;
106106
}

0 commit comments

Comments
 (0)