Home
last modified time | relevance | path

Searched refs:creds_array (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/src/core/lib/security/credentials/composite/
Dcomposite_credentials.cc48 grpc_call_credentials_unref(c->inner.creds_array[i]); in composite_call_destruct()
50 gpr_free(c->inner.creds_array); in composite_call_destruct()
60 ctx->composite_creds->inner.creds_array[ctx->creds_index++]; in composite_call_metadata_cb()
96 ctx->composite_creds->inner.creds_array[ctx->creds_index++]; in composite_call_get_request_metadata()
117 c->inner.creds_array[i], md_array, GRPC_ERROR_REF(error)); in composite_call_cancel_get_request_metadata()
130 result.creds_array = creds_addr; in get_creds_array()
162 c->inner.creds_array = in grpc_composite_call_credentials_create()
165 grpc_call_credentials* cur_creds = creds1_array.creds_array[i]; in grpc_composite_call_credentials_create()
166 c->inner.creds_array[i] = grpc_call_credentials_ref(cur_creds); in grpc_composite_call_credentials_create()
169 grpc_call_credentials* cur_creds = creds2_array.creds_array[i]; in grpc_composite_call_credentials_create()
[all …]
Dcomposite_credentials.h27 grpc_call_credentials** creds_array; member
/external/grpc-grpc/test/core/security/
Dcredentials_test.cc473 const grpc_call_credentials_array* creds_array = in test_oauth2_google_iam_composite_creds() local
475 GPR_ASSERT(creds_array->num_creds == 2); in test_oauth2_google_iam_composite_creds()
476 GPR_ASSERT(strcmp(creds_array->creds_array[0]->type, in test_oauth2_google_iam_composite_creds()
478 GPR_ASSERT(strcmp(creds_array->creds_array[1]->type, in test_oauth2_google_iam_composite_creds()
489 const grpc_call_credentials_array* creds_array; in check_channel_oauth2_google_iam_create_security_connector() local
494 creds_array = grpc_composite_call_credentials_get_credentials(call_creds); in check_channel_oauth2_google_iam_create_security_connector()
495 GPR_ASSERT(strcmp(creds_array->creds_array[0]->type, in check_channel_oauth2_google_iam_create_security_connector()
497 GPR_ASSERT(strcmp(creds_array->creds_array[1]->type, in check_channel_oauth2_google_iam_create_security_connector()