Home
last modified time | relevance | path

Searched refs:service_url (Results 1 – 20 of 20) sorted by relevance

/external/grpc-grpc/test/core/security/
Dcreate_jwt.cc31 void create_jwt(const char* json_key_file_path, const char* service_url, in create_jwt() argument
47 &key, service_url == nullptr ? GRPC_JWT_OAUTH2_AUDIENCE : service_url, in create_jwt()
62 const char* service_url = nullptr; in main() local
73 &service_url); in main()
82 if (service_url != nullptr) { in main()
88 } else if (service_url == nullptr) { in main()
94 create_jwt(json_key_file_path, service_url, scope); in main()
Dprint_google_default_creds_token.cc69 const char* service_url = "https://test.foo.google.com/Foo"; in main() local
75 "Service URL for the token request.", &service_url); in main()
78 context.service_url = service_url; in main()
Dcredentials_test.cc831 auth_md_ctx.service_url = other_test_service_url; in test_jwt_creds_success()
1009 GPR_ASSERT(strcmp(context.service_url, test_service_url) == 0); in plugin_get_metadata_success()
1034 GPR_ASSERT(strcmp(context.service_url, test_service_url) == 0); in plugin_get_metadata_failure()
1196 if (strcmp(auth_md_context.service_url, in test_auth_metadata_context()
1199 test_cases[i].desired_service_url, auth_md_context.service_url); in test_auth_metadata_context()
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djwt_credentials.cc36 if (c->cached.service_url != nullptr) { in jwt_reset_cache()
37 gpr_free(c->cached.service_url); in jwt_reset_cache()
38 c->cached.service_url = nullptr; in jwt_reset_cache()
66 if (c->cached.service_url != nullptr && in jwt_get_request_metadata()
67 strcmp(c->cached.service_url, context.service_url) == 0 && in jwt_get_request_metadata()
82 jwt = grpc_jwt_encode_and_sign(&c->key, context.service_url, in jwt_get_request_metadata()
90 c->cached.service_url = gpr_strdup(context.service_url); in jwt_get_request_metadata()
Djwt_credentials.h35 char* service_url; member
/external/grpc-grpc/src/core/lib/security/transport/
Dclient_auth_filter.cc73 if (auth_md_context->service_url != nullptr) { in grpc_auth_metadata_context_reset()
74 gpr_free(const_cast<char*>(auth_md_context->service_url)); in grpc_auth_metadata_context_reset()
75 auth_md_context->service_url = nullptr; in grpc_auth_metadata_context_reset()
133 char* service_url = nullptr; in grpc_auth_metadata_context_build() local
153 gpr_asprintf(&service_url, "%s://%s%s", in grpc_auth_metadata_context_build()
155 auth_md_context->service_url = service_url; in grpc_auth_metadata_context_build()
/external/grpc-grpc/src/php/tests/unit_tests/
DCallCredentials2Test.php54 $this->assertTrue(is_string($context->service_url));
124 $this->assertTrue(is_string($context->service_url));
156 $this->assertTrue(is_string($context->service_url));
DCallCredentialsTest.php60 $this->assertTrue(is_string($context->service_url));
/external/grpc-grpc/src/python/grpcio/grpc/
D_plugin_wrapping.py73 def __call__(self, service_url, method_name, callback): argument
75 _common.decode(service_url), _common.decode(method_name))
D_auth.py58 'aud': context.service_url
/external/grpc-grpc/include/grpcpp/security/
Dcredentials.h216 grpc::string_ref service_url, grpc::string_ref method_name,
/external/grpc-grpc/src/php/ext/grpc/
Dcall_credentials.c152 php_grpc_add_property_string(arg, "service_url", context.service_url, true); in plugin_get_metadata()
/external/grpc-grpc/include/grpc/
Dgrpc_security.h286 const char* service_url; member
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_call_credentials.c87 VALUE auth_uri = rb_str_new_cstr(params->context.service_url); in grpc_rb_call_credentials_callback_with_gil()
/external/grpc-grpc/src/cpp/client/
Dsecure_credentials.cc255 Status status = plugin_->GetMetadata(context.service_url, context.method_name, in InvokePlugin()
/external/grpc-grpc/src/csharp/ext/
Dgrpc_csharp_ext.c1030 void* state, const char* service_url, const char* method_name,
1042 interceptor(state, context.service_url, context.method_name, cb, user_data, in grpcsharp_get_metadata_handler()
/external/grpc-grpc/src/php/tests/interop/
Dinterop_client.php198 $authUri = $context->service_url;
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dcredentials.pyx.pxi57 args = context.service_url, context.method_name, callback,
Dgrpc.pxi518 const char *service_url
/external/grpc-grpc/test/cpp/end2end/
Dend2end_test.cc85 grpc::string_ref service_url, grpc::string_ref method_name, in GetMetadata() argument
88 EXPECT_GT(service_url.length(), 0UL); in GetMetadata()