all,interop-testing: update google-auth-library-oauth2-http (#3188)

This commit is contained in:
Eric Gribkoff 2017-07-06 13:22:43 -07:00 committed by GitHub
parent 4bce872718
commit 7c60510794
2 changed files with 3 additions and 1 deletions

View File

@ -179,7 +179,7 @@ subprojects {
guava: "com.google.guava:guava:${guavaVersion}",
hpack: 'com.twitter:hpack:0.10.1',
jsr305: 'com.google.code.findbugs:jsr305:3.0.0',
oauth_client: 'com.google.auth:google-auth-library-oauth2-http:0.4.0',
oauth_client: 'com.google.auth:google-auth-library-oauth2-http:0.7.0',
google_api_protos: 'com.google.api.grpc:proto-google-common-protos:0.1.9',
google_auth_credentials: 'com.google.auth:google-auth-library-credentials:0.4.0',
okhttp: 'com.squareup.okhttp:okhttp:2.5.0',

View File

@ -1324,6 +1324,8 @@ public abstract class AbstractInteropTest {
// TODO(madongfly): The Auth library may have something like AccessTokenCredentials in the
// future, change to the official implementation then.
OAuth2Credentials credentials = new OAuth2Credentials(accessToken) {
private static final long serialVersionUID = 0;
@Override
public AccessToken refreshAccessToken() throws IOException {
throw new IOException("This credential is based on a certain AccessToken, "