Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/security/credentials/iam/
Diam_credentials.cc35 grpc_credentials_mdelem_array_destroy(&c->md_array); in iam_destruct()
41 grpc_credentials_mdelem_array* md_array, in iam_get_request_metadata() argument
46 grpc_credentials_mdelem_array_append(md_array, &c->md_array); in iam_get_request_metadata()
51 grpc_call_credentials* c, grpc_credentials_mdelem_array* md_array, in iam_cancel_get_request_metadata() argument
77 grpc_credentials_mdelem_array_add(&c->md_array, md); in grpc_google_iam_credentials_create()
82 grpc_credentials_mdelem_array_add(&c->md_array, md); in grpc_google_iam_credentials_create()
Diam_credentials.h28 grpc_credentials_mdelem_array md_array; member
/external/grpc-grpc/test/core/security/
Dcredentials_test.cc160 grpc_credentials_mdelem_array md_array; in test_empty_md_array() local
161 memset(&md_array, 0, sizeof(md_array)); in test_empty_md_array()
162 GPR_ASSERT(md_array.md == nullptr); in test_empty_md_array()
163 GPR_ASSERT(md_array.size == 0); in test_empty_md_array()
164 grpc_credentials_mdelem_array_destroy(&md_array); in test_empty_md_array()
169 grpc_credentials_mdelem_array md_array; in test_add_to_empty_md_array() local
170 memset(&md_array, 0, sizeof(md_array)); in test_add_to_empty_md_array()
175 grpc_credentials_mdelem_array_add(&md_array, md); in test_add_to_empty_md_array()
176 GPR_ASSERT(md_array.size == 1); in test_add_to_empty_md_array()
177 GPR_ASSERT(grpc_mdelem_eq(md, md_array.md[0])); in test_add_to_empty_md_array()
[all …]
Doauth2_utils.cc38 grpc_credentials_mdelem_array md_array; member
49 GPR_ASSERT(request->md_array.size == 1); in on_oauth2_response()
50 token_slice = GRPC_MDVALUE(request->md_array.md[0]); in on_oauth2_response()
56 grpc_credentials_mdelem_array_destroy(&request->md_array); in on_oauth2_response()
90 &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()
102 &sync.pops, context, &sync.md_array, &sync.on_request_metadata, in main()
/external/grpc-grpc/src/core/lib/security/credentials/composite/
Dcomposite_credentials.cc39 grpc_credentials_mdelem_array* md_array; member
62 inner_creds, ctx->pollent, ctx->auth_md_context, ctx->md_array, in composite_call_metadata_cb()
79 grpc_credentials_mdelem_array* md_array, grpc_closure* on_request_metadata, in composite_call_get_request_metadata() argument
89 ctx->md_array = md_array; in composite_call_get_request_metadata()
98 inner_creds, ctx->pollent, ctx->auth_md_context, ctx->md_array, in composite_call_get_request_metadata()
111 grpc_call_credentials* creds, grpc_credentials_mdelem_array* md_array, in composite_call_cancel_get_request_metadata() argument
117 c->inner.creds_array[i], md_array, GRPC_ERROR_REF(error)); in composite_call_cancel_get_request_metadata()
/external/grpc-grpc/src/core/lib/security/credentials/plugin/
Dplugin_credentials.cc107 grpc_credentials_mdelem_array_add(r->md_array, mdelem); in process_plugin_result()
150 grpc_credentials_mdelem_array* md_array, in plugin_get_request_metadata() argument
162 pending_request->md_array = md_array; in plugin_get_request_metadata()
230 grpc_call_credentials* creds, grpc_credentials_mdelem_array* md_array, in plugin_cancel_get_request_metadata() argument
238 if (pending_request->md_array == md_array) { in plugin_cancel_get_request_metadata()
Dplugin_credentials.h33 grpc_credentials_mdelem_array* md_array; member
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc234 grpc_credentials_mdelem_array_add(pending_request->md_array, in on_oauth2_token_fetcher_http_response()
254 grpc_auth_metadata_context context, grpc_credentials_mdelem_array* md_array, in oauth2_token_fetcher_get_request_metadata() argument
272 grpc_credentials_mdelem_array_add(md_array, cached_access_token_md); in oauth2_token_fetcher_get_request_metadata()
281 pending_request->md_array = md_array; 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() argument
314 if (pending_request->md_array == md_array) { in oauth2_token_fetcher_cancel_get_request_metadata()
496 grpc_auth_metadata_context context, grpc_credentials_mdelem_array* md_array, in access_token_get_request_metadata() argument
500 grpc_credentials_mdelem_array_add(md_array, c->access_token_md); in access_token_get_request_metadata()
505 grpc_call_credentials* c, grpc_credentials_mdelem_array* md_array, in access_token_cancel_get_request_metadata() argument
Doauth2_credentials.h64 grpc_credentials_mdelem_array* md_array; member
/external/grpc-grpc/src/core/lib/security/credentials/
Dcredentials.h166 grpc_credentials_mdelem_array* md_array,
170 grpc_credentials_mdelem_array* md_array,
189 grpc_auth_metadata_context context, grpc_credentials_mdelem_array* md_array,
196 grpc_call_credentials* c, grpc_credentials_mdelem_array* md_array,
Dcredentials.cc105 grpc_auth_metadata_context context, grpc_credentials_mdelem_array* md_array, in grpc_call_credentials_get_request_metadata() argument
110 return creds->vtable->get_request_metadata(creds, pollent, context, md_array, 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() argument
121 creds->vtable->cancel_get_request_metadata(creds, md_array, error); in grpc_call_credentials_cancel_get_request_metadata()
/external/grpc-grpc/src/core/lib/security/transport/
Dclient_auth_filter.cc56 grpc_credentials_mdelem_array md_array; member
105 GPR_ASSERT(calld->md_array.size <= MAX_CREDENTIALS_METADATA_COUNT); in on_credentials_metadata()
109 for (size_t i = 0; i < calld->md_array.size; ++i) { in on_credentials_metadata()
112 GRPC_MDELEM_REF(calld->md_array.md[i]))); in on_credentials_metadata()
168 calld->creds, &calld->md_array, GRPC_ERROR_REF(error)); in cancel_get_request_metadata()
218 &calld->md_array, &calld->async_result_closure, &error)) { in send_security_metadata()
356 grpc_credentials_mdelem_array_destroy(&calld->md_array); in destroy_call_elem()
/external/grpc-grpc/src/core/lib/security/credentials/fake/
Dfake_credentials.cc102 grpc_auth_metadata_context context, grpc_credentials_mdelem_array* md_array, in md_only_test_get_request_metadata() argument
106 grpc_credentials_mdelem_array_add(md_array, c->md); 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() argument
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djwt_credentials.cc54 grpc_credentials_mdelem_array* md_array, in jwt_get_request_metadata() argument
101 grpc_credentials_mdelem_array_add(md_array, jwt_md); in jwt_get_request_metadata()
110 grpc_call_credentials* c, grpc_credentials_mdelem_array* md_array, in jwt_cancel_get_request_metadata() argument