mirror of https://github.com/grpc/grpc-java.git
all,interop-testing: update google-auth-library-oauth2-http (#3188)
This commit is contained in:
parent
4bce872718
commit
7c60510794
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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, "
|
||||
|
|
|
|||
Loading…
Reference in New Issue