Home
last modified time | relevance | path

Searched refs:auth_md_context (Results 1 – 8 of 8) 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/rust/crates/grpcio-sys/grpc/src/core/lib/security/transport/
Dclient_auth_filter.cc95 grpc_auth_metadata_context_reset(&auth_md_context); in destroy()
110 grpc_auth_metadata_context auth_md_context = member
133 grpc_auth_metadata_context* auth_md_context) { in grpc_auth_metadata_context_reset() argument
134 if (auth_md_context->service_url != nullptr) { in grpc_auth_metadata_context_reset()
135 gpr_free(const_cast<char*>(auth_md_context->service_url)); in grpc_auth_metadata_context_reset()
136 auth_md_context->service_url = nullptr; in grpc_auth_metadata_context_reset()
138 if (auth_md_context->method_name != nullptr) { in grpc_auth_metadata_context_reset()
139 gpr_free(const_cast<char*>(auth_md_context->method_name)); in grpc_auth_metadata_context_reset()
140 auth_md_context->method_name = nullptr; in grpc_auth_metadata_context_reset()
142 if (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/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/composite/
Dcomposite_credentials.cc45 grpc_polling_entity* pollent, grpc_auth_metadata_context auth_md_context, in grpc_composite_call_credentials_metadata_context()
50 auth_md_context(auth_md_context), in grpc_composite_call_credentials_metadata_context()
60 grpc_auth_metadata_context auth_md_context; member
76 ctx->pollent, ctx->auth_md_context, ctx->md_array, in composite_call_metadata_cb()
92 grpc_polling_entity* pollent, grpc_auth_metadata_context auth_md_context, 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()
/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()
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dcredentials_test.cc1961 grpc_auth_metadata_context auth_md_context; in test_auth_metadata_context() local
1962 memset(&auth_md_context, 0, sizeof(auth_md_context)); in test_auth_metadata_context()
1964 nullptr, &auth_md_context); in test_auth_metadata_context()
1965 if (strcmp(auth_md_context.service_url, in test_auth_metadata_context()
1968 test_cases[i].desired_service_url, auth_md_context.service_url); in test_auth_metadata_context()
1971 if (strcmp(auth_md_context.method_name, in test_auth_metadata_context()
1974 test_cases[i].desired_method_name, auth_md_context.method_name); in test_auth_metadata_context()
1977 GPR_ASSERT(auth_md_context.channel_auth_context == nullptr); in test_auth_metadata_context()
1980 grpc_auth_metadata_context_reset(&auth_md_context); in test_auth_metadata_context()