Home
last modified time | relevance | path

Searched refs:composite_creds (Results 1 – 5 of 5) 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/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/composite/
Dcomposite_credentials.cc44 grpc_composite_call_credentials* composite_creds, in grpc_composite_call_credentials_metadata_context()
48 : composite_creds(composite_creds), in grpc_composite_call_credentials_metadata_context()
57 grpc_composite_call_credentials* composite_creds; member
72 ctx->composite_creds->inner(); in composite_call_metadata_cb()
99 const CallCredentialsList& inner = ctx->composite_creds->inner(); in get_request_metadata()
146 auto composite_creds = in push_to_inner() local
148 for (size_t i = 0; i < composite_creds->inner().size(); ++i) { in push_to_inner()
149 inner_.push_back(std::move(composite_creds->inner_[i])); in push_to_inner()
/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()
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dcredentials_test.cc592 grpc_call_credentials* composite_creds = in test_oauth2_google_iam_composite_creds() local
596 GPR_ASSERT(composite_creds->min_security_level() == in test_oauth2_google_iam_composite_creds()
601 GPR_ASSERT(strcmp(composite_creds->type(), in test_oauth2_google_iam_composite_creds()
604 static_cast<const grpc_composite_call_credentials*>(composite_creds) in test_oauth2_google_iam_composite_creds()
611 run_request_metadata_test(composite_creds, auth_md_ctx, state); in test_oauth2_google_iam_composite_creds()
612 composite_creds->Unref(); in test_oauth2_google_iam_composite_creds()
1898 grpc_channel_credentials* composite_creds = in test_channel_creds_duplicate_without_call_creds() local
1905 dup = composite_creds->duplicate_without_call_credentials(); in test_channel_creds_duplicate_without_call_creds()
1910 composite_creds->Unref(); in test_channel_creds_duplicate_without_call_creds()