/external/grpc-grpc/src/core/lib/security/credentials/google_default/ |
D | google_default_credentials.cc | 77 grpc_channel_credentials* creds, grpc_call_credentials* call_creds, in google_default_create_security_connector() argument 93 c->alts_creds, call_creds, target, args, sc, new_args) in google_default_create_security_connector() 95 c->ssl_creds, call_creds, target, args, sc, new_args); in google_default_create_security_connector() 181 grpc_call_credentials* call_creds = nullptr; in grpc_google_default_credentials_create() local 200 gpr_getenv(GRPC_GOOGLE_CREDENTIALS_ENV_VAR), &call_creds); in grpc_google_default_credentials_create() 206 grpc_get_well_known_google_credentials_file_path(), &call_creds); in grpc_google_default_credentials_create() 216 call_creds = grpc_google_compute_engine_credentials_create(nullptr); in grpc_google_default_credentials_create() 217 if (call_creds == nullptr) { in grpc_google_default_credentials_create() 227 if (call_creds != nullptr) { in grpc_google_default_credentials_create() 243 &creds->base, call_creds, nullptr); in grpc_google_default_credentials_create() [all …]
|
/external/grpc-grpc/src/core/lib/security/credentials/composite/ |
D | composite_credentials.cc | 210 grpc_call_credentials_unref(c->call_creds); in composite_channel_destruct() 214 grpc_channel_credentials* creds, grpc_call_credentials* call_creds, in composite_channel_create_security_connector() argument 221 GPR_ASSERT(c->inner_creds != nullptr && c->call_creds != nullptr && in composite_channel_create_security_connector() 226 if (call_creds != nullptr) { in composite_channel_create_security_connector() 228 grpc_composite_call_credentials_create(c->call_creds, call_creds, in composite_channel_create_security_connector() 235 c->inner_creds, c->call_creds, target, args, sc, new_args); in composite_channel_create_security_connector() 253 grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds, in grpc_composite_channel_credentials_create() argument 257 GPR_ASSERT(channel_creds != nullptr && call_creds != nullptr && in grpc_composite_channel_credentials_create() 262 3, (channel_creds, call_creds, reserved)); in grpc_composite_channel_credentials_create() 267 c->call_creds = grpc_call_credentials_ref(call_creds); in grpc_composite_channel_credentials_create()
|
D | composite_credentials.h | 48 grpc_call_credentials* call_creds; member
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/beta/ |
D | _implementations_test.py | 46 call_creds = implementations.google_call_credentials(creds) 47 self.assertIsInstance(call_creds, implementations.CallCredentials) 50 call_creds = implementations.access_token_call_credentials('token') 51 self.assertIsInstance(call_creds, implementations.CallCredentials)
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | _auth_test.py | 48 call_creds = _auth.GoogleCallCredentials(MockGoogleCreds()) 49 call_creds(None, mock_callback) 59 call_creds = _auth.GoogleCallCredentials(MockExceptionGoogleCreds()) 60 call_creds(None, mock_callback)
|
/external/grpc-grpc/test/cpp/util/ |
D | cli_credentials.cc | 55 call_creds, "", 199 std::shared_ptr<grpc::CallCredentials> call_creds = GetCallCredentials(); in GetCredentials() local 200 return (channel_creds == nullptr || call_creds == nullptr) in GetCredentials() 202 : grpc::CompositeChannelCredentials(channel_creds, call_creds); in GetCredentials()
|
/external/grpc-grpc/examples/ruby/pubsub/ |
D | pubsub_demo.rb | 58 call_creds = GRPC::Core::CallCredentials.new(auth_proc(opts)) 59 combined_creds = ssl_creds.compose(call_creds) 69 call_creds = GRPC::Core::CallCredentials.new(auth_proc(opts)) 70 combined_creds = ssl_creds.compose(call_creds)
|
/external/grpc-grpc/src/ruby/pb/test/ |
D | client.rb | 124 call_creds = GRPC::Core::CallCredentials.new(auth_creds.updater_proc) 125 creds = creds.compose call_creds 134 call_creds = GRPC::Core::CallCredentials.new(proc { |md| md.merge(kw) }) 135 creds = creds.compose call_creds 140 call_creds = GRPC::Core::CallCredentials.new(auth_creds.updater_proc) 141 creds = creds.compose call_creds 360 call_creds = GRPC::Core::CallCredentials.new(update_metadata) 364 credentials: call_creds)
|
/external/grpc-grpc/test/core/security/ |
D | credentials_test.cc | 420 grpc_channel_credentials* c, grpc_call_credentials* call_creds, in check_channel_oauth2_create_security_connector() argument 424 GPR_ASSERT(call_creds != nullptr); in check_channel_oauth2_create_security_connector() 425 GPR_ASSERT(strcmp(call_creds->type, GRPC_CALL_CREDENTIALS_TYPE_OAUTH2) == 0); in check_channel_oauth2_create_security_connector() 486 grpc_channel_credentials* c, grpc_call_credentials* call_creds, in check_channel_oauth2_google_iam_create_security_connector() argument 491 GPR_ASSERT(call_creds != nullptr); in check_channel_oauth2_google_iam_create_security_connector() 492 GPR_ASSERT(strcmp(call_creds->type, GRPC_CALL_CREDENTIALS_TYPE_COMPOSITE) == in check_channel_oauth2_google_iam_create_security_connector() 494 creds_array = grpc_composite_call_credentials_get_credentials(call_creds); in check_channel_oauth2_google_iam_create_security_connector() 891 creds->call_creds); in test_google_default_creds_auth_key() 914 creds->call_creds); in test_google_default_creds_refresh_token() 951 GPR_ASSERT(creds->call_creds != nullptr); in test_google_default_creds_gce() [all …]
|
D | print_google_default_creds_token.cc | 101 ->call_creds, in main()
|
/external/grpc-grpc/include/grpcpp/security/ |
D | credentials.h | 55 const std::shared_ptr<CallCredentials>& call_creds); 84 const std::shared_ptr<CallCredentials>& call_creds); 185 const std::shared_ptr<CallCredentials>& call_creds);
|
/external/grpc-grpc/src/ruby/spec/ |
D | channel_credentials_spec.rb | 60 call_creds = CallCredentials.new auth_proc 61 expect { channel_creds.compose call_creds }.not_to raise_error
|
D | client_server_spec.rb | 599 call_creds = GRPC::Core::CallCredentials.new(auth_proc) 614 call.set_credentials! call_creds
|
/external/grpc-grpc/src/core/lib/security/credentials/fake/ |
D | fake_credentials.cc | 36 grpc_channel_credentials* c, grpc_call_credentials* call_creds, in fake_transport_security_create_security_connector() argument 40 grpc_fake_channel_security_connector_create(c, call_creds, target, args); in fake_transport_security_create_security_connector()
|
/external/grpc-grpc/test/core/end2end/ |
D | end2end_tests.cc | 41 extern void call_creds(grpc_end2end_test_config config); 285 call_creds(config); in grpc_end2end_tests() 380 call_creds(config); in grpc_end2end_tests()
|
/external/grpc-grpc/src/cpp/client/ |
D | secure_credentials.cc | 170 const std::shared_ptr<CallCredentials>& call_creds) { in CompositeChannelCredentials() argument 177 SecureCallCredentials* s_call_creds = call_creds->AsSecureCredentials(); in CompositeChannelCredentials()
|
/external/grpc-grpc/src/core/lib/security/credentials/ssl/ |
D | ssl_credentials.cc | 58 grpc_channel_credentials* creds, grpc_call_credentials* call_creds, in ssl_create_security_connector() argument 78 creds, call_creds, &c->config, target, overridden_target_name, in ssl_create_security_connector()
|
/external/grpc-grpc/src/core/lib/security/credentials/ |
D | credentials.h | 97 grpc_channel_credentials* c, grpc_call_credentials* call_creds,
|
/external/grpc-grpc/src/php/ext/grpc/ |
D | channel_credentials.c | 228 ZEND_ARG_INFO(0, call_creds)
|
/external/grpc-grpc/include/grpc/ |
D | grpc_security.h | 222 grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds,
|
/external/grpc-grpc/test/cpp/end2end/ |
D | grpclb_end2end_test.cc | 410 grpc_call_credentials* call_creds = grpc_md_only_test_credentials_create( in ResetStub() local 414 channel_creds, call_creds, nullptr))); in ResetStub() 415 grpc_call_credentials_unref(call_creds); in ResetStub()
|
/external/grpc-grpc/src/csharp/ext/ |
D | grpc_csharp_ext.c | 1005 grpc_call_credentials* call_creds) { in grpcsharp_composite_channel_credentials_create() argument 1006 return grpc_composite_channel_credentials_create(channel_creds, call_creds, in grpcsharp_composite_channel_credentials_create()
|
/external/grpc-grpc/test/core/end2end/tests/ |
D | call_creds.cc | 468 void call_creds(grpc_end2end_test_config config) { in call_creds() function
|
/external/grpc-grpc/src/objective-c/tests/CoreCronetEnd2EndTests/ |
D | CoreCronetEnd2EndTests.mm | 229 // [self testIndividualCase:(char *)"call_creds"];
|
/external/grpc-grpc/src/ruby/ext/grpc/ |
D | rb_grpc_imports.generated.h | 344 …_type)(grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds, void* reserved);
|