aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2015-07-22 16:20:13 -0700
committerGravatar Julien Boeuf <jboeuf@google.com>2015-07-22 16:20:13 -0700
commitfe4c3f4f1436e2fc2297d5544859ce14e03659bf (patch)
tree202e31e66c9652738a13b9a6740fd8191400c8ca /test/cpp
parent6a7418cd20f065f8d6e7f73e82b6d465c75514f5 (diff)
Renaming jwt_credentials to service_account_jwt_access_credentials.
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/interop/client_helper.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cpp/interop/client_helper.cc b/test/cpp/interop/client_helper.cc
index 48b1b2e864..73d82f7b88 100644
--- a/test/cpp/interop/client_helper.cc
+++ b/test/cpp/interop/client_helper.cc
@@ -123,7 +123,8 @@ std::shared_ptr<ChannelInterface> CreateChannelForTestCase(
GPR_ASSERT(FLAGS_enable_ssl);
grpc::string json_key = GetServiceAccountJsonKey();
std::chrono::seconds token_lifetime = std::chrono::hours(1);
- creds = JWTCredentials(json_key, token_lifetime.count());
+ creds =
+ ServiceAccountJWTAccessCredentials(json_key, token_lifetime.count());
return CreateTestChannel(host_port, FLAGS_server_host_override,
FLAGS_enable_ssl, FLAGS_use_prod_roots, creds);
} else if (test_case == "oauth2_auth_token") {