Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/security/credentials/composite/
Dcomposite_credentials.cc35 grpc_composite_call_credentials* composite_creds; member
58 if (ctx->creds_index < ctx->composite_creds->inner.num_creds) { in composite_call_metadata_cb()
60 ctx->composite_creds->inner.creds_array[ctx->creds_index++]; in composite_call_metadata_cb()
86 ctx->composite_creds = c; in composite_call_get_request_metadata()
94 while (ctx->creds_index < ctx->composite_creds->inner.num_creds) { in composite_call_get_request_metadata()
96 ctx->composite_creds->inner.creds_array[ctx->creds_index++]; in composite_call_get_request_metadata()
186 grpc_call_credentials** composite_creds) { in grpc_credentials_contains_type() argument
189 if (composite_creds != nullptr) *composite_creds = nullptr; in grpc_credentials_contains_type()
196 if (composite_creds != nullptr) *composite_creds = creds; in grpc_credentials_contains_type()
Dcomposite_credentials.h33 grpc_call_credentials* composite_creds);
41 grpc_call_credentials** composite_creds);
/external/grpc-grpc/test/core/security/
Dcredentials_test.cc466 grpc_call_credentials* composite_creds = in test_oauth2_google_iam_composite_creds() local
472 strcmp(composite_creds->type, GRPC_CALL_CREDENTIALS_TYPE_COMPOSITE) == 0); in test_oauth2_google_iam_composite_creds()
474 grpc_composite_call_credentials_get_credentials(composite_creds); in test_oauth2_google_iam_composite_creds()
480 run_request_metadata_test(composite_creds, auth_md_ctx, state); in test_oauth2_google_iam_composite_creds()
481 grpc_call_credentials_unref(composite_creds); in test_oauth2_google_iam_composite_creds()
1131 grpc_channel_credentials* composite_creds = in test_channel_creds_duplicate_without_call_creds() local
1136 composite_creds); in test_channel_creds_duplicate_without_call_creds()
1141 grpc_channel_credentials_unref(composite_creds); in test_channel_creds_duplicate_without_call_creds()