Home
last modified time | relevance | path

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

12345

/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/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/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/composite/
Dcomposite_credentials.h37 grpc_core::RefCountedPtr<grpc_call_credentials> 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()
63 grpc_call_credentials* mutable_call_creds() { return call_creds_.get(); } in mutable_call_creds()
67 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds_;
72 class grpc_composite_call_credentials : public grpc_call_credentials {
75 absl::InlinedVector<grpc_core::RefCountedPtr<grpc_call_credentials>, 2>;
78 grpc_core::RefCountedPtr<grpc_call_credentials> creds1,
79 grpc_core::RefCountedPtr<grpc_call_credentials> creds2);
99 void push_to_inner(grpc_core::RefCountedPtr<grpc_call_credentials> creds,
Dcomposite_credentials.cc131 static size_t get_creds_array_size(const grpc_call_credentials* creds, in get_creds_array_size()
141 grpc_core::RefCountedPtr<grpc_call_credentials> creds, bool is_composite) { in push_to_inner()
154 grpc_core::RefCountedPtr<grpc_call_credentials> creds1, in grpc_composite_call_credentials()
155 grpc_core::RefCountedPtr<grpc_call_credentials> creds2) in grpc_composite_call_credentials()
156 : grpc_call_credentials(GRPC_CALL_CREDENTIALS_TYPE_COMPOSITE) { in grpc_composite_call_credentials()
175 static grpc_core::RefCountedPtr<grpc_call_credentials>
177 grpc_core::RefCountedPtr<grpc_call_credentials> creds1, in composite_call_credentials_create()
178 grpc_core::RefCountedPtr<grpc_call_credentials> creds2) { in composite_call_credentials_create()
183 grpc_call_credentials* grpc_composite_call_credentials_create( in grpc_composite_call_credentials_create()
184 grpc_call_credentials* creds1, grpc_call_credentials* creds2, in grpc_composite_call_credentials_create()
[all …]
/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/rust/crates/grpcio-sys/grpc/include/grpc/
Dgrpc_security.h128 typedef struct grpc_call_credentials grpc_call_credentials; typedef
132 GRPCAPI void grpc_call_credentials_release(grpc_call_credentials* creds);
164 grpc_call_credentials* call_credentials);
305 grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds,
311 GRPCAPI grpc_call_credentials* grpc_composite_call_credentials_create(
312 grpc_call_credentials* creds1, grpc_call_credentials* creds2,
318 GRPCAPI grpc_call_credentials* grpc_google_compute_engine_credentials_create(
328 GRPCAPI grpc_call_credentials*
338 GRPCAPI grpc_call_credentials* grpc_external_account_credentials_create(
347 GRPCAPI grpc_call_credentials* grpc_google_refresh_token_credentials_create(
[all …]
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/
Dgrpc_security.h128 typedef struct grpc_call_credentials grpc_call_credentials; typedef
132 GRPCAPI void grpc_call_credentials_release(grpc_call_credentials* creds);
164 grpc_call_credentials* call_credentials);
305 grpc_channel_credentials* channel_creds, grpc_call_credentials* call_creds,
311 GRPCAPI grpc_call_credentials* grpc_composite_call_credentials_create(
312 grpc_call_credentials* creds1, grpc_call_credentials* creds2,
318 GRPCAPI grpc_call_credentials* grpc_google_compute_engine_credentials_create(
328 GRPCAPI grpc_call_credentials*
338 GRPCAPI grpc_call_credentials* grpc_external_account_credentials_create(
347 GRPCAPI grpc_call_credentials* grpc_google_refresh_token_credentials_create(
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/
Dcredentials.h113 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds,
172 struct grpc_call_credentials struct
173 : public grpc_core::RefCounted<grpc_call_credentials> {
175 explicit grpc_call_credentials(
180 ~grpc_call_credentials() override = default; argument
215 grpc_call_credentials* grpc_md_only_test_credentials_create( argument
264 grpc_core::RefCountedPtr<grpc_call_credentials> creds) in grpc_credentials_metadata_request()
270 grpc_core::RefCountedPtr<grpc_call_credentials> creds;
276 grpc_core::RefCountedPtr<grpc_call_credentials> creds) { in grpc_credentials_metadata_request_create()
/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/rust/crates/grpcio-sys/grpc/test/core/security/
Dfetch_oauth2.cc38 static grpc_call_credentials* create_sts_creds(const char* json_file_path) { in create_sts_creds()
61 grpc_call_credentials* result = grpc_sts_credentials_create(&opts, nullptr); in create_sts_creds()
65 static grpc_call_credentials* create_refresh_token_creds( in create_refresh_token_creds()
71 grpc_call_credentials* result = grpc_google_refresh_token_credentials_create( in create_refresh_token_creds()
79 grpc_call_credentials* creds = nullptr; in main()
/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()
/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/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()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/google_default/
Dgoogle_default_credentials.cc82 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, in create_security_connector()
224 grpc_core::RefCountedPtr<grpc_call_credentials>* creds) { in create_default_creds_from_path()
227 grpc_core::RefCountedPtr<grpc_call_credentials> result; in create_default_creds_from_path()
304 static grpc_core::RefCountedPtr<grpc_call_credentials> make_default_call_creds( in make_default_call_creds()
306 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds; in make_default_call_creds()
327 call_creds = grpc_core::RefCountedPtr<grpc_call_credentials>( in make_default_call_creds()
342 grpc_call_credentials* call_credentials) { in grpc_google_default_credentials_create()
344 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds(call_credentials); in grpc_google_default_credentials_create()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/
Dsecurity_connector.h94 grpc_core::RefCountedPtr<grpc_call_credentials> request_metadata_creds
123 const grpc_call_credentials* request_metadata_creds() const { in request_metadata_creds()
126 grpc_call_credentials* mutable_request_metadata_creds() { in mutable_request_metadata_creds()
142 grpc_core::RefCountedPtr<grpc_call_credentials> request_metadata_creds_;
/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 …]
/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)
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.h71 grpc_call_credentials base;
90 grpc_call_credentials base;
96 grpc_call_credentials*
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 …]
/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/rust/crates/grpcio-sys/grpc/src/core/lib/security/context/
Dsecurity_context.h115 grpc_core::RefCountedPtr<grpc_call_credentials> creds) in grpc_client_security_context()
119 grpc_core::RefCountedPtr<grpc_call_credentials> creds;
125 grpc_core::Arena* arena, grpc_call_credentials* creds);
/external/rust/crates/grpcio-sys/grpc/src/cpp/client/
Dsecure_credentials.h61 explicit SecureCallCredentials(grpc_call_credentials* c_creds);
65 grpc_call_credentials* GetRawCreds() { return c_creds_; } in GetRawCreds()
75 grpc_call_credentials* const c_creds_;

12345