GRPC Core  9.0.0
Macros | Functions | Variables
client_auth_filter.cc File Reference
#include <grpc/support/port_platform.h>
#include "src/core/lib/security/transport/auth_filters.h"
#include <string.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/profiling/timers.h"
#include "src/core/lib/security/context/security_context.h"
#include "src/core/lib/security/credentials/credentials.h"
#include "src/core/lib/security/security_connector/security_connector.h"
#include "src/core/lib/security/security_connector/ssl_utils.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/slice/slice_string_helpers.h"
#include "src/core/lib/surface/call.h"
#include "src/core/lib/transport/static_metadata.h"

Macros

#define MAX_CREDENTIALS_METADATA_COUNT   4
 

Functions

void grpc_auth_metadata_context_copy (grpc_auth_metadata_context *from, grpc_auth_metadata_context *to)
 
void grpc_auth_metadata_context_reset (grpc_auth_metadata_context *auth_md_context)
 
void grpc_auth_metadata_context_build (const char *url_scheme, const grpc_slice &call_host, const grpc_slice &call_method, grpc_auth_context *auth_context, grpc_auth_metadata_context *auth_md_context)
 

Variables

const grpc_channel_filter grpc_client_auth_filter
 

Macro Definition Documentation

◆ MAX_CREDENTIALS_METADATA_COUNT

#define MAX_CREDENTIALS_METADATA_COUNT   4

Function Documentation

◆ grpc_auth_metadata_context_build()

void grpc_auth_metadata_context_build ( const char *  url_scheme,
const grpc_slice call_host,
const grpc_slice call_method,
grpc_auth_context auth_context,
grpc_auth_metadata_context auth_md_context 
)

◆ grpc_auth_metadata_context_copy()

void grpc_auth_metadata_context_copy ( grpc_auth_metadata_context from,
grpc_auth_metadata_context to 
)

◆ grpc_auth_metadata_context_reset()

void grpc_auth_metadata_context_reset ( grpc_auth_metadata_context auth_md_context)

Variable Documentation

◆ grpc_client_auth_filter

const grpc_channel_filter grpc_client_auth_filter
Initial value:
= {
client_auth_start_transport_stream_op_batch,
sizeof(call_data),
client_auth_init_call_elem,
client_auth_set_pollset_or_pollset_set,
client_auth_destroy_call_elem,
sizeof(channel_data),
client_auth_init_channel_elem,
client_auth_destroy_channel_elem,
"client-auth"}
void grpc_channel_next_op(grpc_channel_element *elem, grpc_transport_op *op)
Definition: channel_stack.cc:236
struct connected_channel_channel_data channel_data
struct connected_channel_call_data call_data
void grpc_channel_next_get_info(grpc_channel_element *elem, const grpc_channel_info *channel_info)
Definition: channel_stack.cc:230