/third_party/grpc/src/core/lib/security/credentials/composite/ |
D | composite_credentials.cc | 46 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()
|
D | composite_credentials.h | 84 grpc_credentials_mdelem_array* md_array, 88 void cancel_get_request_metadata(grpc_credentials_mdelem_array* md_array,
|
/third_party/grpc/test/core/security/ |
D | oauth2_utils.cc | 39 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()
|
D | print_google_default_creds_token.cc | 40 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()
|
D | credentials_test.cc | 173 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/ |
D | oauth2_credentials.h | 66 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,
|
D | oauth2_credentials.cc | 258 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/ |
D | plugin_credentials.cc | 116 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()
|
D | plugin_credentials.h | 36 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/ |
D | iam_credentials.h | 36 grpc_credentials_mdelem_array* md_array, 40 void cancel_get_request_metadata(grpc_credentials_mdelem_array* md_array,
|
D | iam_credentials.cc | 38 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/ |
D | client_auth_filter.cc | 91 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/ |
D | fake_credentials.h | 73 grpc_credentials_mdelem_array* md_array, 77 void cancel_get_request_metadata(grpc_credentials_mdelem_array* md_array,
|
D | fake_credentials.cc | 94 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/ |
D | jwt_credentials.h | 42 grpc_credentials_mdelem_array* md_array, 46 void cancel_get_request_metadata(grpc_credentials_mdelem_array* md_array,
|
D | jwt_credentials.cc | 61 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/ |
D | credentials.h | 188 grpc_credentials_mdelem_array* md_array, 196 grpc_credentials_mdelem_array* md_array, grpc_error* error) = 0;
|