Home
last modified time | relevance | path

Searched refs:call_creds (Results 1 – 25 of 28) sorted by relevance

12

/external/grpc-grpc/src/core/lib/security/credentials/google_default/
Dgoogle_default_credentials.cc77 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/
Dcomposite_credentials.cc210 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()
Dcomposite_credentials.h48 grpc_call_credentials* call_creds; member
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/beta/
D_implementations_test.py46 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.py48 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/
Dcli_credentials.cc55 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/
Dpubsub_demo.rb58 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/
Dclient.rb124 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/
Dcredentials_test.cc420 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 …]
Dprint_google_default_creds_token.cc101 ->call_creds, in main()
/external/grpc-grpc/include/grpcpp/security/
Dcredentials.h55 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/
Dchannel_credentials_spec.rb60 call_creds = CallCredentials.new auth_proc
61 expect { channel_creds.compose call_creds }.not_to raise_error
Dclient_server_spec.rb599 call_creds = GRPC::Core::CallCredentials.new(auth_proc)
614 call.set_credentials! call_creds
/external/grpc-grpc/src/core/lib/security/credentials/fake/
Dfake_credentials.cc36 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/
Dend2end_tests.cc41 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/
Dsecure_credentials.cc170 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/
Dssl_credentials.cc58 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/
Dcredentials.h97 grpc_channel_credentials* c, grpc_call_credentials* call_creds,
/external/grpc-grpc/src/php/ext/grpc/
Dchannel_credentials.c228 ZEND_ARG_INFO(0, call_creds)
/external/grpc-grpc/include/grpc/
Dgrpc_security.h222 grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds,
/external/grpc-grpc/test/cpp/end2end/
Dgrpclb_end2end_test.cc410 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/
Dgrpc_csharp_ext.c1005 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/
Dcall_creds.cc468 void call_creds(grpc_end2end_test_config config) { in call_creds() function
/external/grpc-grpc/src/objective-c/tests/CoreCronetEnd2EndTests/
DCoreCronetEnd2EndTests.mm229 // [self testIndividualCase:(char *)"call_creds"];
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_grpc_imports.generated.h344 …_type)(grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds, void* reserved);

12