/external/grpc-grpc/test/core/security/ |
D | create_jwt.cc | 31 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()
|
D | print_google_default_creds_token.cc | 69 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()
|
D | credentials_test.cc | 831 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/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | create_jwt.cc | 31 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()
|
D | print_google_default_creds_token.cc | 69 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()
|
D | credentials_test.cc | 1398 auth_md_ctx.service_url = other_test_service_url; in test_jwt_creds_success() 1732 GPR_ASSERT(strcmp(context.service_url, test_service_url) == 0); in plugin_get_metadata_success() 1757 GPR_ASSERT(strcmp(context.service_url, test_service_url) == 0); in plugin_get_metadata_failure() 1965 if (strcmp(auth_md_context.service_url, in test_auth_metadata_context() 1968 test_cases[i].desired_service_url, auth_md_context.service_url); in test_auth_metadata_context()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/jwt/ |
D | jwt_credentials.cc | 45 if (cached_.service_url != nullptr) { in reset_cache() 46 gpr_free(cached_.service_url); in reset_cache() 47 cached_.service_url = nullptr; in reset_cache() 70 if (cached_.service_url != nullptr && in get_request_metadata() 71 strcmp(cached_.service_url, context.service_url) == 0 && in get_request_metadata() 86 jwt = grpc_jwt_encode_and_sign(&key_, context.service_url, jwt_lifetime_, in get_request_metadata() 93 cached_.service_url = gpr_strdup(context.service_url); in get_request_metadata()
|
D | jwt_credentials.h | 67 char* service_url = nullptr; member
|
/external/grpc-grpc/src/core/lib/security/credentials/jwt/ |
D | jwt_credentials.cc | 36 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()
|
D | jwt_credentials.h | 35 char* service_url; member
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/transport/ |
D | client_auth_filter.cc | 128 to->service_url = gpr_strdup(from->service_url); in grpc_auth_metadata_context_copy() 134 if (auth_md_context->service_url != nullptr) { in grpc_auth_metadata_context_reset() 135 gpr_free(const_cast<char*>(auth_md_context->service_url)); in grpc_auth_metadata_context_reset() 136 auth_md_context->service_url = nullptr; in grpc_auth_metadata_context_reset() 195 char* service_url = nullptr; in grpc_auth_metadata_context_build() local 215 gpr_asprintf(&service_url, "%s://%s%s", in grpc_auth_metadata_context_build() 217 auth_md_context->service_url = service_url; in grpc_auth_metadata_context_build()
|
/external/grpc-grpc/src/core/lib/security/transport/ |
D | client_auth_filter.cc | 73 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/ |
D | CallCredentials2Test.php | 54 $this->assertTrue(is_string($context->service_url)); 124 $this->assertTrue(is_string($context->service_url)); 156 $this->assertTrue(is_string($context->service_url));
|
D | CallCredentialsTest.php | 60 $this->assertTrue(is_string($context->service_url));
|
/external/grpc-grpc/src/python/grpcio/grpc/ |
D | _plugin_wrapping.py | 73 def __call__(self, service_url, method_name, callback): argument 75 _common.decode(service_url), _common.decode(method_name))
|
D | _auth.py | 58 'aud': context.service_url
|
/external/grpc-grpc/include/grpcpp/security/ |
D | credentials.h | 216 grpc::string_ref service_url, grpc::string_ref method_name,
|
/external/grpc-grpc/include/grpc/ |
D | grpc_security.h | 286 const char* service_url; member
|
/external/grpc-grpc/src/php/ext/grpc/ |
D | call_credentials.c | 152 php_grpc_add_property_string(arg, "service_url", context.service_url, true); in plugin_get_metadata()
|
/external/grpc-grpc/src/ruby/ext/grpc/ |
D | rb_call_credentials.c | 87 VALUE auth_uri = rb_str_new_cstr(params->context.service_url); in grpc_rb_call_credentials_callback_with_gil()
|
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/security/ |
D | credentials.h | 268 grpc::string_ref service_url, grpc::string_ref method_name,
|
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/security/ |
D | credentials.h | 268 grpc::string_ref service_url, grpc::string_ref method_name,
|
/external/rust/crates/grpcio-sys/grpc/include/grpc/ |
D | grpc_security.h | 404 const char* service_url; member
|
/external/grpc-grpc/src/cpp/client/ |
D | secure_credentials.cc | 255 Status status = plugin_->GetMetadata(context.service_url, context.method_name, in InvokePlugin()
|
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/ |
D | grpc_security.h | 404 const char* service_url; member
|