/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/google_default/ |
D | google_default_credentials.cc | 82 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, in create_security_connector() argument 102 use_alts ? alts_creds_->create_security_connector(call_creds, target, in create_security_connector() 104 : ssl_creds_->create_security_connector(call_creds, target, args, in create_security_connector() 306 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds; in make_default_call_creds() local 312 err = create_default_creds_from_path(path_from_env, &call_creds); in make_default_call_creds() 314 if (err == GRPC_ERROR_NONE) return call_creds; in make_default_call_creds() 320 grpc_get_well_known_google_credentials_file_path(), &call_creds); in make_default_call_creds() 321 if (err == GRPC_ERROR_NONE) return call_creds; in make_default_call_creds() 327 call_creds = grpc_core::RefCountedPtr<grpc_call_credentials>( in make_default_call_creds() 329 if (call_creds == nullptr) { in make_default_call_creds() [all …]
|
/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/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/composite/ |
D | composite_credentials.cc | 202 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, in create_security_connector() argument 208 if (call_creds != nullptr) { in create_security_connector() 210 composite_call_credentials_create(call_creds_, std::move(call_creds)), in create_security_connector() 219 grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds, in grpc_composite_channel_credentials_create() argument 221 GPR_ASSERT(channel_creds != nullptr && call_creds != nullptr && in grpc_composite_channel_credentials_create() 226 3, (channel_creds, call_creds, reserved)); in grpc_composite_channel_credentials_create() 228 call_creds->Ref()); in grpc_composite_channel_credentials_create()
|
D | composite_credentials.h | 37 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds) in grpc_composite_channel_credentials() argument 40 call_creds_(std::move(call_creds)) {} in grpc_composite_channel_credentials() 51 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, 62 const grpc_call_credentials* call_creds() const { return call_creds_.get(); } in call_creds() function
|
/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/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/insecure/ |
D | insecure_credentials.cc | 36 RefCountedPtr<grpc_call_credentials> call_creds, in create_security_connector() argument 40 Ref(), std::move(call_creds)); in create_security_connector()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/xds/ |
D | xds_credentials.cc | 106 RefCountedPtr<grpc_call_credentials> call_creds, const char* target_name, in create_security_connector() argument 141 std::move(call_creds), target_name, temp_args, new_args); in create_security_connector() 145 std::move(call_creds), target_name, temp_args, new_args); in create_security_connector()
|
D | xds_credentials.h | 41 RefCountedPtr<grpc_call_credentials> call_creds, const char* target_name,
|
/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/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/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/fake/ |
D | fake_credentials.cc | 46 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, in create_security_connector() argument 50 this->Ref(), std::move(call_creds), target, args); in create_security_connector()
|
/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 …]
|
/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
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/alts/ |
D | alts_credentials.cc | 54 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, in create_security_connector() argument 58 this->Ref(), std::move(call_creds), target_name); in create_security_connector()
|
/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/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/tls/ |
D | tls_credentials.cc | 69 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, in create_security_connector() argument 88 this->Ref(), options_, std::move(call_creds), target_name, in create_security_connector()
|
D | tls_credentials.h | 37 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds,
|
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/security/ |
D | credentials.h | 77 const std::shared_ptr<CallCredentials>& call_creds); 140 const std::shared_ptr<CallCredentials>& call_creds); 240 const std::shared_ptr<CallCredentials>& call_creds);
|
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/security/ |
D | credentials.h | 77 const std::shared_ptr<CallCredentials>& call_creds); 140 const std::shared_ptr<CallCredentials>& call_creds); 240 const std::shared_ptr<CallCredentials>& call_creds);
|
/external/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | credentials_test.cc | 543 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, in create_security_connector() argument 547 GPR_ASSERT(call_creds != nullptr); in create_security_connector() 548 GPR_ASSERT(strcmp(call_creds->type(), GRPC_CALL_CREDENTIALS_TYPE_OAUTH2) == in create_security_connector() 623 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, in create_security_connector() argument 627 GPR_ASSERT(call_creds != nullptr); in create_security_connector() 629 strcmp(call_creds->type(), GRPC_CALL_CREDENTIALS_TYPE_COMPOSITE) == 0); in create_security_connector() 631 static_cast<const grpc_composite_call_credentials*>(call_creds.get()) in create_security_connector() 1474 creds->call_creds()); in test_google_default_creds_auth_key() 1498 creds->call_creds()); in test_google_default_creds_refresh_token() 1546 GPR_ASSERT(creds->call_creds() != nullptr); in test_google_default_creds_gce() [all …]
|