Home
last modified time | relevance | path

Searched refs:oauthScope (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceClient.java87 private String oauthScope; field in TestServiceClient
142 oauthScope = value; in parseArgs()
179 + "\n --oauth_scope Scope for OAuth tokens. Default " + c.oauthScope in parseArgs()
270 tester.computeEngineCreds(defaultServiceAccount, oauthScope); in runTest()
276 tester.serviceAccountCreds(jsonKey, credentialsStream, oauthScope); in runTest()
289 tester.oauth2AuthToken(jsonKey, credentialsStream, oauthScope); in runTest()
296 tester.perRpcCreds(jsonKey, credentialsStream, oauthScope); in runTest()
DAbstractInteropTest.java1673 public void computeEngineCreds(String serviceAccount, String oauthScope) throws Exception { in computeEngineCreds() argument
1690 oauthScope.contains(response.getOauthScope())); in computeEngineCreds()
1748 public void perRpcCreds(String jsonKey, InputStream credentialsStream, String oauthScope) in perRpcCreds() argument
1753 oauth2AuthToken(jsonKey, credentialsStream, oauthScope); in perRpcCreds()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DInteropClient.cs321 …eEngineCreds(TestService.TestServiceClient client, string defaultServiceAccount, string oauthScope) in RunComputeEngineCreds() argument
338 Assert.True(oauthScope.Contains(response.OauthScope)); in RunComputeEngineCreds()
362 … static async Task RunOAuth2AuthTokenAsync(TestService.TestServiceClient client, string oauthScope) in RunOAuth2AuthTokenAsync() argument
365 …dential = (await GoogleCredential.GetApplicationDefaultAsync()).CreateScoped(new[] { oauthScope }); in RunOAuth2AuthTokenAsync()
378 Assert.True(oauthScope.Contains(response.OauthScope)); in RunOAuth2AuthTokenAsync()
383 …blic static async Task RunPerRpcCredsAsync(TestService.TestServiceClient client, string oauthScope) in RunPerRpcCredsAsync() argument
/external/rust/crates/grpcio-sys/grpc/tools/http2_interop/
Dhttp2interop_test.go40 oauthScope = flag.String("oauth_scope", "", "Unused") var
/external/grpc-grpc/tools/http2_interop/
Dhttp2interop_test.go26 oauthScope = flag.String("oauth_scope", "", "Unused") var
/external/grpc-grpc/examples/objective-c/auth_sample/
DMakeRPCViewController.m67 response.oauthScope, response.username];
/external/grpc-grpc/src/objective-c/tests/
DGRPCClientTests.m191 XCTAssertNotNil(responseProto.oauthScope, @"Response's OAuth scope is nil.");
410 XCTAssertNotNil(responseProto.oauthScope, @"Response's OAuth scope is nil.");