Home
last modified time | relevance | path

Searched refs:md_array (Results 1 – 17 of 17) sorted by relevance

/third_party/grpc/src/core/lib/security/credentials/composite/
Dcomposite_credentials.cc46 grpc_credentials_mdelem_array* md_array, in grpc_composite_call_credentials_metadata_context()
51 md_array(md_array), in grpc_composite_call_credentials_metadata_context()
61 grpc_credentials_mdelem_array* md_array; member
76 ctx->pollent, ctx->auth_md_context, ctx->md_array, in composite_call_metadata_cb()
93 grpc_credentials_mdelem_array* md_array, grpc_closure* on_request_metadata, in get_request_metadata() argument
97 this, pollent, auth_md_context, md_array, on_request_metadata); in get_request_metadata()
102 ctx->pollent, ctx->auth_md_context, ctx->md_array, in get_request_metadata()
115 grpc_credentials_mdelem_array* md_array, grpc_error* error) { in cancel_get_request_metadata() argument
117 inner_[i]->cancel_get_request_metadata(md_array, GRPC_ERROR_REF(error)); in cancel_get_request_metadata()
Dcomposite_credentials.h84 grpc_credentials_mdelem_array* md_array,
88 void cancel_get_request_metadata(grpc_credentials_mdelem_array* md_array,
/third_party/grpc/test/core/security/
Doauth2_utils.cc39 grpc_credentials_mdelem_array md_array; member
50 GPR_ASSERT(request->md_array.size == 1); in on_oauth2_response()
51 token_slice = GRPC_MDVALUE(request->md_array.md[0]); in on_oauth2_response()
57 grpc_credentials_mdelem_array_destroy(&request->md_array); in on_oauth2_response()
90 if (creds->get_request_metadata(&request.pops, null_ctx, &request.md_array, in grpc_test_fetch_oauth2_token_with_credentials()
Dprint_google_default_creds_token.cc40 grpc_credentials_mdelem_array md_array; member
51 GPR_ASSERT(sync->md_array.size == 1); in on_metadata_response()
52 token = grpc_slice_to_c_string(GRPC_MDVALUE(sync->md_array.md[0])); in on_metadata_response()
101 ->get_request_metadata(&sync.pops, context, &sync.md_array, in main()
Dcredentials_test.cc173 grpc_credentials_mdelem_array md_array; in test_empty_md_array() local
174 md_array = {}; in test_empty_md_array()
175 GPR_ASSERT(md_array.md == nullptr); in test_empty_md_array()
176 GPR_ASSERT(md_array.size == 0); in test_empty_md_array()
177 grpc_credentials_mdelem_array_destroy(&md_array); in test_empty_md_array()
182 grpc_credentials_mdelem_array md_array; in test_add_to_empty_md_array() local
183 md_array = {}; in test_add_to_empty_md_array()
188 grpc_credentials_mdelem_array_add(&md_array, md); in test_add_to_empty_md_array()
189 GPR_ASSERT(md_array.size == 1); in test_add_to_empty_md_array()
190 GPR_ASSERT(grpc_mdelem_eq(md, md_array.md[0])); in test_add_to_empty_md_array()
[all …]
/third_party/grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.h66 grpc_credentials_mdelem_array* md_array; member
79 grpc_credentials_mdelem_array* md_array,
83 void cancel_get_request_metadata(grpc_credentials_mdelem_array* md_array,
139 grpc_credentials_mdelem_array* md_array,
143 void cancel_get_request_metadata(grpc_credentials_mdelem_array* md_array,
Doauth2_credentials.cc258 grpc_credentials_mdelem_array_add(pending_request->md_array, in on_http_response()
279 grpc_credentials_mdelem_array* md_array, grpc_closure* on_request_metadata, in get_request_metadata() argument
295 grpc_credentials_mdelem_array_add(md_array, cached_access_token_md); in get_request_metadata()
304 pending_request->md_array = md_array; in get_request_metadata()
328 grpc_credentials_mdelem_array* md_array, grpc_error* error) { in cancel_get_request_metadata() argument
333 if (pending_request->md_array == md_array) { in cancel_get_request_metadata()
720 grpc_credentials_mdelem_array* md_array, in get_request_metadata() argument
722 grpc_credentials_mdelem_array_add(md_array, access_token_md_); in get_request_metadata()
/third_party/grpc/src/core/lib/security/credentials/plugin/
Dplugin_credentials.cc116 grpc_credentials_mdelem_array_add(r->md_array, mdelem); in process_plugin_result()
159 grpc_credentials_mdelem_array* md_array, grpc_closure* on_request_metadata, in get_request_metadata() argument
167 request->md_array = md_array; in get_request_metadata()
234 grpc_credentials_mdelem_array* md_array, grpc_error* error) { in cancel_get_request_metadata() argument
238 if (pending_request->md_array == md_array) { in cancel_get_request_metadata()
Dplugin_credentials.h36 grpc_credentials_mdelem_array* md_array; member
48 grpc_credentials_mdelem_array* md_array,
52 void cancel_get_request_metadata(grpc_credentials_mdelem_array* md_array,
/third_party/grpc/src/core/lib/security/credentials/iam/
Diam_credentials.h36 grpc_credentials_mdelem_array* md_array,
40 void cancel_get_request_metadata(grpc_credentials_mdelem_array* md_array,
Diam_credentials.cc38 grpc_credentials_mdelem_array* md_array, in get_request_metadata() argument
40 grpc_credentials_mdelem_array_append(md_array, &md_array_); in get_request_metadata()
/third_party/grpc/src/core/lib/security/transport/
Dclient_auth_filter.cc91 grpc_credentials_mdelem_array_destroy(&md_array); in destroy()
108 grpc_credentials_mdelem_array md_array; member
167 GPR_ASSERT(calld->md_array.size <= MAX_CREDENTIALS_METADATA_COUNT); in on_credentials_metadata()
171 for (size_t i = 0; i < calld->md_array.size; ++i) { in on_credentials_metadata()
174 GRPC_MDELEM_REF(calld->md_array.md[i]))); in on_credentials_metadata()
232 calld->creds->cancel_get_request_metadata(&calld->md_array, in cancel_get_request_metadata()
316 calld->pollent, calld->auth_md_context, &calld->md_array, in send_security_metadata()
/third_party/grpc/src/core/lib/security/credentials/fake/
Dfake_credentials.h73 grpc_credentials_mdelem_array* md_array,
77 void cancel_get_request_metadata(grpc_credentials_mdelem_array* md_array,
Dfake_credentials.cc94 grpc_credentials_mdelem_array* md_array, grpc_closure* on_request_metadata, in get_request_metadata() argument
96 grpc_credentials_mdelem_array_add(md_array, md_); in get_request_metadata()
/third_party/grpc/src/core/lib/security/credentials/jwt/
Djwt_credentials.h42 grpc_credentials_mdelem_array* md_array,
46 void cancel_get_request_metadata(grpc_credentials_mdelem_array* md_array,
Djwt_credentials.cc61 grpc_credentials_mdelem_array* md_array, in get_request_metadata() argument
103 grpc_credentials_mdelem_array_add(md_array, jwt_md); in get_request_metadata()
/third_party/grpc/src/core/lib/security/credentials/
Dcredentials.h188 grpc_credentials_mdelem_array* md_array,
196 grpc_credentials_mdelem_array* md_array, grpc_error* error) = 0;