/third_party/grpc/src/core/lib/security/credentials/google_default/ |
D | google_default_credentials.cc | 84 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, in create_security_connector() argument 104 use_alts ? alts_creds_->create_security_connector(call_creds, target, in create_security_connector() 106 : ssl_creds_->create_security_connector(call_creds, target, args, in create_security_connector() 308 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds; in make_default_call_creds() local 314 err = create_default_creds_from_path(path_from_env, &call_creds); in make_default_call_creds() 316 if (err == GRPC_ERROR_NONE) return call_creds; in make_default_call_creds() 322 grpc_get_well_known_google_credentials_file_path(), &call_creds); in make_default_call_creds() 323 if (err == GRPC_ERROR_NONE) return call_creds; in make_default_call_creds() 329 call_creds = grpc_core::RefCountedPtr<grpc_call_credentials>( in make_default_call_creds() 331 if (call_creds == nullptr) { in make_default_call_creds() [all …]
|
D | google_default_credentials.h | 57 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds,
|
/third_party/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)
|
/third_party/grpc/src/python/grpcio_tests/tests/unit/ |
D | _auth_test.py | 49 call_creds = _auth.GoogleCallCredentials(MockGoogleCreds()) 50 call_creds(None, mock_callback) 60 call_creds = _auth.GoogleCallCredentials(MockExceptionGoogleCreds()) 61 call_creds(None, mock_callback)
|
/third_party/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
|
/third_party/grpc/test/cpp/util/ |
D | cli_credentials.cc | 59 call_creds, "", 213 std::shared_ptr<grpc::CallCredentials> call_creds = GetCallCredentials(); in GetCredentials() local 214 return (channel_creds == nullptr || call_creds == nullptr) in GetCredentials() 216 : grpc::CompositeChannelCredentials(channel_creds, call_creds); in GetCredentials()
|
/third_party/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)
|
/third_party/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()
|
/third_party/grpc/src/ruby/pb/test/ |
D | client.rb | 127 call_creds = GRPC::Core::CallCredentials.new(auth_creds.updater_proc) 128 creds = creds.compose call_creds 137 call_creds = GRPC::Core::CallCredentials.new(proc { |md| md.merge(kw) }) 138 creds = creds.compose call_creds 143 call_creds = GRPC::Core::CallCredentials.new(auth_creds.updater_proc) 144 creds = creds.compose call_creds 363 call_creds = GRPC::Core::CallCredentials.new(update_metadata) 367 credentials: call_creds)
|
/third_party/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()
|
/third_party/grpc/src/core/lib/security/credentials/xds/ |
D | xds_credentials.cc | 119 RefCountedPtr<grpc_call_credentials> call_creds, const char* target_name, in create_security_connector() argument 188 std::move(call_creds), target_name, temp_args.args, new_args); in create_security_connector() 193 std::move(call_creds), target_name, temp_args.args, new_args); in create_security_connector()
|
D | xds_credentials.h | 41 RefCountedPtr<grpc_call_credentials> call_creds, const char* target_name,
|
/third_party/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()
|
D | alts_credentials.h | 38 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds,
|
/third_party/grpc/src/ruby/spec/ |
D | channel_credentials_spec.rb | 70 call_creds = CallCredentials.new auth_proc 71 expect { channel_creds.compose call_creds }.not_to raise_error
|
/third_party/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,
|
/third_party/grpc/test/core/security/ |
D | credentials_test.cc | 444 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, in create_security_connector() argument 448 GPR_ASSERT(call_creds != nullptr); in create_security_connector() 449 GPR_ASSERT(strcmp(call_creds->type(), GRPC_CALL_CREDENTIALS_TYPE_OAUTH2) == in create_security_connector() 524 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, in create_security_connector() argument 528 GPR_ASSERT(call_creds != nullptr); in create_security_connector() 530 strcmp(call_creds->type(), GRPC_CALL_CREDENTIALS_TYPE_COMPOSITE) == 0); in create_security_connector() 532 static_cast<const grpc_composite_call_credentials*>(call_creds.get()) in create_security_connector() 1366 creds->call_creds()); in test_google_default_creds_auth_key() 1389 creds->call_creds()); in test_google_default_creds_refresh_token() 1442 GPR_ASSERT(creds->call_creds() != nullptr); in test_google_default_creds_gce() [all …]
|
/third_party/grpc/include/grpcpp/security/ |
D | credentials_impl.h | 72 const std::shared_ptr<CallCredentials>& call_creds); 123 const std::shared_ptr<CallCredentials>& call_creds); 223 const std::shared_ptr<CallCredentials>& call_creds);
|
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);
|
/third_party/grpc/src/python/grpcio_tests/tests/interop/ |
D | client.py | 115 call_creds = grpc.metadata_call_credentials( 120 call_creds)
|
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | credentials.pyx.pxi | 421 def __cinit__(self, CallCredentials call_creds): argument 423 self._call_creds = call_creds.c() 432 def channel_credentials_compute_engine(call_creds): argument 433 return ComputeEngineChannelCredentials(call_creds)
|
/third_party/grpc/src/core/lib/security/credentials/ssl/ |
D | ssl_credentials.h | 37 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds,
|
/third_party/grpc/test/core/end2end/ |
D | end2end_tests.cc | 40 extern void call_creds(grpc_end2end_test_config config); 286 call_creds(config); in grpc_end2end_tests() 382 call_creds(config); in grpc_end2end_tests()
|