Home
last modified time | relevance | path

Searched refs:grpc_call_credentials (Results 1 – 25 of 52) sorted by relevance

123

/external/grpc-grpc/src/core/lib/security/credentials/composite/
Dcomposite_credentials.cc44 static void composite_call_destruct(grpc_call_credentials* creds) { in composite_call_destruct()
59 grpc_call_credentials* inner_creds = in composite_call_metadata_cb()
77 grpc_call_credentials* creds, grpc_polling_entity* pollent, in composite_call_get_request_metadata()
95 grpc_call_credentials* inner_creds = in composite_call_get_request_metadata()
111 grpc_call_credentials* creds, grpc_credentials_mdelem_array* md_array, in composite_call_cancel_get_request_metadata()
127 grpc_call_credentials** creds_addr) { in get_creds_array()
129 grpc_call_credentials* creds = *creds_addr; in get_creds_array()
138 grpc_call_credentials* grpc_composite_call_credentials_create( in grpc_composite_call_credentials_create()
139 grpc_call_credentials* creds1, grpc_call_credentials* creds2, in grpc_composite_call_credentials_create()
161 creds_array_byte_size = c->inner.num_creds * sizeof(grpc_call_credentials*); in grpc_composite_call_credentials_create()
[all …]
Dcomposite_credentials.h27 grpc_call_credentials** creds_array;
33 grpc_call_credentials* composite_creds);
39 grpc_call_credentials* grpc_credentials_contains_type(
40 grpc_call_credentials* creds, const char* type,
41 grpc_call_credentials** composite_creds);
48 grpc_call_credentials* call_creds;
54 grpc_call_credentials base;
/external/grpc-grpc/src/core/lib/security/credentials/
Dcredentials.h97 grpc_channel_credentials* c, grpc_call_credentials* call_creds,
162 void (*destruct)(grpc_call_credentials* c);
163 bool (*get_request_metadata)(grpc_call_credentials* c,
169 void (*cancel_get_request_metadata)(grpc_call_credentials* c,
174 struct grpc_call_credentials { struct
180 grpc_call_credentials* grpc_call_credentials_ref(grpc_call_credentials* creds); argument
181 void grpc_call_credentials_unref(grpc_call_credentials* creds);
188 grpc_call_credentials* creds, grpc_polling_entity* pollent,
196 grpc_call_credentials* c, grpc_credentials_mdelem_array* md_array,
201 grpc_call_credentials* grpc_md_only_test_credentials_create(
[all …]
Dcredentials.cc43 grpc_call_credentials* creds) { in grpc_credentials_metadata_request_create()
81 grpc_call_credentials* grpc_call_credentials_ref(grpc_call_credentials* creds) { in grpc_call_credentials_ref()
87 void grpc_call_credentials_unref(grpc_call_credentials* creds) { in grpc_call_credentials_unref()
97 void grpc_call_credentials_release(grpc_call_credentials* creds) { in grpc_call_credentials_release()
104 grpc_call_credentials* creds, grpc_polling_entity* pollent, in grpc_call_credentials_get_request_metadata()
115 grpc_call_credentials* creds, grpc_credentials_mdelem_array* md_array, in grpc_call_credentials_cancel_get_request_metadata()
/external/grpc-grpc/include/grpc/
Dgrpc_security.h214 typedef struct grpc_call_credentials grpc_call_credentials; typedef
218 GRPCAPI void grpc_call_credentials_release(grpc_call_credentials* creds);
222 grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds,
226 GRPCAPI grpc_call_credentials* grpc_composite_call_credentials_create(
227 grpc_call_credentials* creds1, grpc_call_credentials* creds2,
233 GRPCAPI grpc_call_credentials* grpc_google_compute_engine_credentials_create(
243 GRPCAPI grpc_call_credentials*
254 GRPCAPI grpc_call_credentials* grpc_google_refresh_token_credentials_create(
259 GRPCAPI grpc_call_credentials* grpc_access_token_credentials_create(
263 GRPCAPI grpc_call_credentials* grpc_google_iam_credentials_create(
[all …]
/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()
94 static void md_only_test_destruct(grpc_call_credentials* creds) { in md_only_test_destruct()
101 grpc_call_credentials* creds, grpc_polling_entity* pollent, in md_only_test_get_request_metadata()
115 grpc_call_credentials* c, grpc_credentials_mdelem_array* md_array, in md_only_test_cancel_get_request_metadata()
124 grpc_call_credentials* grpc_md_only_test_credentials_create( in grpc_md_only_test_credentials_create()
/external/grpc-grpc/src/core/lib/security/credentials/iam/
Diam_credentials.cc32 static void iam_destruct(grpc_call_credentials* creds) { in iam_destruct()
38 static bool iam_get_request_metadata(grpc_call_credentials* creds, in iam_get_request_metadata()
51 grpc_call_credentials* c, grpc_credentials_mdelem_array* md_array, in iam_cancel_get_request_metadata()
59 grpc_call_credentials* grpc_google_iam_credentials_create( in grpc_google_iam_credentials_create()
Diam_credentials.h27 grpc_call_credentials base;
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_call_credentials.c47 grpc_call_credentials* wrapped;
188 VALUE grpc_rb_wrap_call_credentials(grpc_call_credentials* c, VALUE mark) { in grpc_rb_wrap_call_credentials()
212 grpc_call_credentials* creds = NULL; in grpc_rb_call_credentials_init()
244 grpc_call_credentials* creds; in grpc_rb_call_credentials_compose()
245 grpc_call_credentials* other; in grpc_rb_call_credentials_compose()
246 grpc_call_credentials* prev = NULL; in grpc_rb_call_credentials_compose()
285 grpc_call_credentials* grpc_rb_get_wrapped_call_credentials(VALUE v) { in grpc_rb_get_wrapped_call_credentials()
Drb_grpc_imports.generated.h341 typedef void(*grpc_call_credentials_release_type)(grpc_call_credentials* creds);
344 …credentials_create_type)(grpc_channel_credentials* channel_creds, grpc_call_credentials* call_cred…
347 typedef grpc_call_credentials*(*grpc_composite_call_credentials_create_type)(grpc_call_credentials*…
350 typedef grpc_call_credentials*(*grpc_google_compute_engine_credentials_create_type)(void* reserved);
356 typedef grpc_call_credentials*(*grpc_service_account_jwt_access_credentials_create_type)(const char…
359 typedef grpc_call_credentials*(*grpc_google_refresh_token_credentials_create_type)(const char* json…
362 typedef grpc_call_credentials*(*grpc_access_token_credentials_create_type)(const char* access_token…
365 typedef grpc_call_credentials*(*grpc_google_iam_credentials_create_type)(const char* authorization_…
368 typedef grpc_call_credentials*(*grpc_metadata_credentials_create_from_plugin_type)(grpc_metadata_cr…
404 typedef grpc_call_error(*grpc_call_set_credentials_type)(grpc_call* call, grpc_call_credentials* cr…
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djwt_credentials.cc43 static void jwt_destruct(grpc_call_credentials* creds) { in jwt_destruct()
51 static bool jwt_get_request_metadata(grpc_call_credentials* creds, in jwt_get_request_metadata()
110 grpc_call_credentials* c, grpc_credentials_mdelem_array* md_array, in jwt_cancel_get_request_metadata()
118 grpc_call_credentials*
168 grpc_call_credentials* grpc_service_account_jwt_access_credentials_create( in grpc_service_account_jwt_access_credentials_create()
185 grpc_call_credentials* creds = in grpc_service_account_jwt_access_credentials_create()
Djwt_credentials.h28 grpc_call_credentials base;
45 grpc_call_credentials*
/external/grpc-grpc/test/core/security/
Dcredentials_test.cc311 grpc_call_credentials* creds;
375 static void run_request_metadata_test(grpc_call_credentials* creds, in run_request_metadata_test()
396 grpc_call_credentials* creds = grpc_google_iam_credentials_create( in test_google_iam_creds()
410 grpc_call_credentials* creds = in test_access_token_creds()
420 grpc_channel_credentials* c, grpc_call_credentials* call_creds, in check_channel_oauth2_create_security_connector()
436 grpc_call_credentials* oauth2_creds = in test_channel_oauth2_composite_creds()
461 grpc_call_credentials* oauth2_creds = grpc_md_only_test_credentials_create( in test_oauth2_google_iam_composite_creds()
463 grpc_call_credentials* google_iam_creds = grpc_google_iam_credentials_create( in test_oauth2_google_iam_composite_creds()
466 grpc_call_credentials* composite_creds = in test_oauth2_google_iam_composite_creds()
486 grpc_channel_credentials* c, grpc_call_credentials* call_creds, in check_channel_oauth2_google_iam_create_security_connector()
[all …]
Dfetch_oauth2.cc34 static grpc_call_credentials* create_refresh_token_creds( in create_refresh_token_creds()
46 grpc_call_credentials* creds = nullptr; in main()
Doauth2_utils.h27 grpc_call_credentials* creds);
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc108 static void oauth2_token_fetcher_destruct(grpc_call_credentials* creds) { in oauth2_token_fetcher_destruct()
253 grpc_call_credentials* creds, grpc_polling_entity* pollent, in oauth2_token_fetcher_get_request_metadata()
305 grpc_call_credentials* creds, grpc_credentials_mdelem_array* md_array, in oauth2_token_fetcher_cancel_get_request_metadata()
378 grpc_call_credentials* grpc_google_compute_engine_credentials_create( in grpc_google_compute_engine_credentials_create()
395 static void refresh_token_destruct(grpc_call_credentials* creds) { in refresh_token_destruct()
440 grpc_call_credentials*
468 grpc_call_credentials* grpc_google_refresh_token_credentials_create( in grpc_google_refresh_token_credentials_create()
488 static void access_token_destruct(grpc_call_credentials* creds) { in access_token_destruct()
495 grpc_call_credentials* creds, grpc_polling_entity* pollent, in access_token_get_request_metadata()
505 grpc_call_credentials* c, grpc_credentials_mdelem_array* md_array, in access_token_cancel_get_request_metadata()
[all …]
Doauth2_credentials.h71 grpc_call_credentials base;
90 grpc_call_credentials base;
96 grpc_call_credentials*
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dcredentials.pxd.pxi18 cdef grpc_call_credentials *c(self)
21 cdef grpc_call_credentials *c_credentials
39 cdef grpc_call_credentials *c(self)
42 cdef grpc_call_credentials *_composition(call_credentialses)
49 cdef grpc_call_credentials *c(self)
Dcredentials.pyx.pxi38 cdef grpc_call_credentials *c(self):
72 cdef grpc_call_credentials *c(self):
82 cdef grpc_call_credentials *_composition(call_credentialses):
85 cdef grpc_call_credentials *c_composition = composition.c()
87 cdef grpc_call_credentials *c_additional_call_credentials
88 cdef grpc_call_credentials *c_next_composition
104 cdef grpc_call_credentials *c(self):
168 cdef grpc_call_credentials *c_call_credentials_composition = _composition(
Dgrpc.pxi453 ctypedef struct grpc_call_credentials:
478 grpc_channel_credentials *creds1, grpc_call_credentials *creds2,
482 grpc_call_credentials *grpc_composite_call_credentials_create(
483 grpc_call_credentials *creds1, grpc_call_credentials *creds2,
485 grpc_call_credentials *grpc_google_compute_engine_credentials_create(
487 grpc_call_credentials *grpc_service_account_jwt_access_credentials_create(
490 grpc_call_credentials *grpc_google_refresh_token_credentials_create(
492 grpc_call_credentials *grpc_google_iam_credentials_create(
495 void grpc_call_credentials_release(grpc_call_credentials *creds) nogil
511 grpc_call_credentials *creds) nogil
[all …]
/external/grpc-grpc/src/cpp/client/
Dsecure_credentials.h47 explicit SecureCallCredentials(grpc_call_credentials* c_creds);
49 grpc_call_credentials* GetRawCreds() { return c_creds_; } in GetRawCreds()
55 grpc_call_credentials* const c_creds_;
/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()
118 char* creds_path, grpc_call_credentials** creds) { in create_default_creds_from_path()
122 grpc_call_credentials* result = nullptr; in create_default_creds_from_path()
181 grpc_call_credentials* call_creds = nullptr; in grpc_google_default_credentials_create()
/external/grpc-grpc/src/core/lib/security/credentials/plugin/
Dplugin_credentials.cc38 static void plugin_destruct(grpc_call_credentials* creds) { in plugin_destruct()
147 static bool plugin_get_request_metadata(grpc_call_credentials* creds, in plugin_get_request_metadata()
230 grpc_call_credentials* creds, grpc_credentials_mdelem_array* md_array, in plugin_cancel_get_request_metadata()
258 grpc_call_credentials* grpc_metadata_credentials_create_from_plugin( in grpc_metadata_credentials_create_from_plugin()
/external/grpc-grpc/src/core/lib/security/security_connector/
Dsecurity_connector.h119 grpc_call_credentials* request_metadata_creds;
183 grpc_call_credentials* request_metadata_creds, const char* target,
214 grpc_call_credentials* request_metadata_creds,
/external/grpc-grpc/src/php/ext/grpc/
Dcall_credentials.c50 zval *grpc_php_wrap_call_credentials(grpc_call_credentials in grpc_php_wrap_call_credentials()
85 grpc_call_credentials *creds = in PHP_METHOD()
130 grpc_call_credentials *creds = in PHP_METHOD()

123