aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-10-08 08:44:20 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-10-08 09:04:14 -0700
commitcf72a3adfe8ab55775d8e0d648fb62f8b4e58f1d (patch)
tree85cc1895d65e1d82ff46639a328e08ae1ebef460
parent9d8a65218f440c27b42d389053b0107b45065cbd (diff)
use JWT credentials for per_rpc_creds
-rw-r--r--src/csharp/Grpc.IntegrationTesting/InteropClient.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/InteropClient.cs b/src/csharp/Grpc.IntegrationTesting/InteropClient.cs
index 888b5c312f..cb50b44841 100644
--- a/src/csharp/Grpc.IntegrationTesting/InteropClient.cs
+++ b/src/csharp/Grpc.IntegrationTesting/InteropClient.cs
@@ -410,7 +410,7 @@ namespace Grpc.IntegrationTesting
public static async Task RunPerRpcCredsAsync(TestService.TestServiceClient client, string oauthScope)
{
Console.WriteLine("running per_rpc_creds");
- ITokenAccess googleCredential = (await GoogleCredential.GetApplicationDefaultAsync()).CreateScoped(new[] { oauthScope });
+ ITokenAccess googleCredential = await GoogleCredential.GetApplicationDefaultAsync();
var credentials = GrpcCredentials.Create(googleCredential);
var request = new SimpleRequest