Home
last modified time | relevance | path

Searched refs:auth_md_context (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/src/core/lib/security/transport/
Dclient_auth_filter.cc58 grpc_auth_metadata_context auth_md_context; member
72 grpc_auth_metadata_context* auth_md_context) { in grpc_auth_metadata_context_reset() argument
73 if (auth_md_context->service_url != nullptr) { in grpc_auth_metadata_context_reset()
74 gpr_free(const_cast<char*>(auth_md_context->service_url)); in grpc_auth_metadata_context_reset()
75 auth_md_context->service_url = nullptr; in grpc_auth_metadata_context_reset()
77 if (auth_md_context->method_name != nullptr) { in grpc_auth_metadata_context_reset()
78 gpr_free(const_cast<char*>(auth_md_context->method_name)); in grpc_auth_metadata_context_reset()
79 auth_md_context->method_name = nullptr; in grpc_auth_metadata_context_reset()
82 (grpc_auth_context*)auth_md_context->channel_auth_context, in grpc_auth_metadata_context_reset()
84 auth_md_context->channel_auth_context = nullptr; in grpc_auth_metadata_context_reset()
[all …]
Dauth_filters.h33 grpc_auth_metadata_context* auth_md_context);
/external/grpc-grpc/src/core/lib/security/credentials/composite/
Dcomposite_credentials.cc38 grpc_auth_metadata_context auth_md_context; member
62 inner_creds, ctx->pollent, ctx->auth_md_context, ctx->md_array, in composite_call_metadata_cb()
78 grpc_auth_metadata_context auth_md_context, in composite_call_get_request_metadata() argument
88 ctx->auth_md_context = auth_md_context; in composite_call_get_request_metadata()
98 inner_creds, ctx->pollent, ctx->auth_md_context, ctx->md_array, in composite_call_get_request_metadata()
/external/grpc-grpc/test/core/security/
Dcredentials_test.cc1192 grpc_auth_metadata_context auth_md_context; in test_auth_metadata_context() local
1193 memset(&auth_md_context, 0, sizeof(auth_md_context)); in test_auth_metadata_context()
1195 nullptr, &auth_md_context); in test_auth_metadata_context()
1196 if (strcmp(auth_md_context.service_url, in test_auth_metadata_context()
1199 test_cases[i].desired_service_url, auth_md_context.service_url); in test_auth_metadata_context()
1202 if (strcmp(auth_md_context.method_name, in test_auth_metadata_context()
1205 test_cases[i].desired_method_name, auth_md_context.method_name); in test_auth_metadata_context()
1208 GPR_ASSERT(auth_md_context.channel_auth_context == nullptr); in test_auth_metadata_context()
1211 grpc_auth_metadata_context_reset(&auth_md_context); in test_auth_metadata_context()