Functions | Variables
server_auth_filter.cc File Reference
#include <grpc/support/port_platform.h>
#include <string.h>
#include <algorithm>
#include <new>
#include <grpc/grpc.h>
#include <grpc/grpc_security.h>
#include <grpc/impl/codegen/grpc_types.h>
#include <grpc/slice.h>
#include <grpc/status.h>
#include <grpc/support/alloc.h>
#include <grpc/support/atm.h>
#include <grpc/support/log.h>
#include "src/core/lib/channel/channel_fwd.h"
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/channel/context.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/iomgr/call_combiner.h"
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/security/context/security_context.h"
#include "src/core/lib/security/credentials/credentials.h"
#include "src/core/lib/security/transport/auth_filters.h"
#include "src/core/lib/slice/slice.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/slice/slice_refcount.h"
#include "src/core/lib/transport/metadata_batch.h"
#include "src/core/lib/transport/transport.h"
Include dependency graph for server_auth_filter.cc:

Go to the source code of this file.

Functions

static void cancel_call (void *arg, grpc_error_handle error)
 
static grpc_metadata_array metadata_batch_to_md_array (const grpc_metadata_batch *batch)
 
static void on_md_processing_done (void *user_data, const grpc_metadata *consumed_md, size_t num_consumed_md, const grpc_metadata *response_md, size_t num_response_md, grpc_status_code status, const char *error_details)
 
static void on_md_processing_done_inner (grpc_call_element *elem, const grpc_metadata *consumed_md, size_t num_consumed_md, const grpc_metadata *response_md, size_t num_response_md, grpc_error_handle error)
 
static void recv_initial_metadata_ready (void *arg, grpc_error_handle error)
 
static void recv_trailing_metadata_ready (void *user_data, grpc_error_handle error)
 
static void server_auth_destroy_call_elem (grpc_call_element *elem, const grpc_call_final_info *, grpc_closure *)
 
static void server_auth_destroy_channel_elem (grpc_channel_element *elem)
 
static grpc_error_handle server_auth_init_call_elem (grpc_call_element *elem, const grpc_call_element_args *args)
 
static grpc_error_handle server_auth_init_channel_elem (grpc_channel_element *elem, grpc_channel_element_args *args)
 
static void server_auth_start_transport_stream_op_batch (grpc_call_element *elem, grpc_transport_stream_op_batch *batch)
 

Variables

const grpc_channel_filter grpc_server_auth_filter
 

Function Documentation

◆ cancel_call()

static void cancel_call ( void *  arg,
grpc_error_handle  error 
)
static

Definition at line 225 of file server_auth_filter.cc.

◆ metadata_batch_to_md_array()

static grpc_metadata_array metadata_batch_to_md_array ( const grpc_metadata_batch batch)
static

Definition at line 151 of file server_auth_filter.cc.

◆ on_md_processing_done()

static void on_md_processing_done ( void *  user_data,
const grpc_metadata consumed_md,
size_t  num_consumed_md,
const grpc_metadata response_md,
size_t  num_response_md,
grpc_status_code  status,
const char *  error_details 
)
static

Definition at line 193 of file server_auth_filter.cc.

◆ on_md_processing_done_inner()

static void on_md_processing_done_inner ( grpc_call_element elem,
const grpc_metadata consumed_md,
size_t  num_consumed_md,
const grpc_metadata response_md,
size_t  num_response_md,
grpc_error_handle  error 
)
static

Definition at line 160 of file server_auth_filter.cc.

◆ recv_initial_metadata_ready()

static void recv_initial_metadata_ready ( void *  arg,
grpc_error_handle  error 
)
static

Definition at line 238 of file server_auth_filter.cc.

◆ recv_trailing_metadata_ready()

static void recv_trailing_metadata_ready ( void *  user_data,
grpc_error_handle  error 
)
static

Definition at line 275 of file server_auth_filter.cc.

◆ server_auth_destroy_call_elem()

static void server_auth_destroy_call_elem ( grpc_call_element elem,
const grpc_call_final_info ,
grpc_closure  
)
static

Definition at line 321 of file server_auth_filter.cc.

◆ server_auth_destroy_channel_elem()

static void server_auth_destroy_channel_elem ( grpc_channel_element elem)
static

Definition at line 342 of file server_auth_filter.cc.

◆ server_auth_init_call_elem()

static grpc_error_handle server_auth_init_call_elem ( grpc_call_element elem,
const grpc_call_element_args args 
)
static

Definition at line 314 of file server_auth_filter.cc.

◆ server_auth_init_channel_elem()

static grpc_error_handle server_auth_init_channel_elem ( grpc_channel_element elem,
grpc_channel_element_args args 
)
static

Definition at line 329 of file server_auth_filter.cc.

◆ server_auth_start_transport_stream_op_batch()

static void server_auth_start_transport_stream_op_batch ( grpc_call_element elem,
grpc_transport_stream_op_batch batch 
)
static

Definition at line 293 of file server_auth_filter.cc.

Variable Documentation

◆ grpc_server_auth_filter

const grpc_channel_filter grpc_server_auth_filter
server_auth_init_channel_elem
static grpc_error_handle server_auth_init_channel_elem(grpc_channel_element *elem, grpc_channel_element_args *args)
Definition: server_auth_filter.cc:329
server_auth_destroy_channel_elem
static void server_auth_destroy_channel_elem(grpc_channel_element *elem)
Definition: server_auth_filter.cc:342
server_auth_destroy_call_elem
static void server_auth_destroy_call_elem(grpc_call_element *elem, const grpc_call_final_info *, grpc_closure *)
Definition: server_auth_filter.cc:321
call_data
struct connected_channel_call_data call_data
grpc_channel_next_op
void grpc_channel_next_op(grpc_channel_element *elem, grpc_transport_op *op)
Definition: channel_stack.cc:264
grpc_call_stack_ignore_set_pollset_or_pollset_set
void grpc_call_stack_ignore_set_pollset_or_pollset_set(grpc_call_element *, grpc_polling_entity *)
Definition: channel_stack.cc:233
grpc_channel_stack_no_post_init
void grpc_channel_stack_no_post_init(grpc_channel_stack *, grpc_channel_element *)
Definition: channel_stack.cc:282
server_auth_start_transport_stream_op_batch
static void server_auth_start_transport_stream_op_batch(grpc_call_element *elem, grpc_transport_stream_op_batch *batch)
Definition: server_auth_filter.cc:293
grpc_channel_next_get_info
void grpc_channel_next_get_info(grpc_channel_element *elem, const grpc_channel_info *channel_info)
Definition: channel_stack.cc:258
server_auth_init_call_elem
static grpc_error_handle server_auth_init_call_elem(grpc_call_element *elem, const grpc_call_element_args *args)
Definition: server_auth_filter.cc:314
channel_data
struct connected_channel_channel_data channel_data


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:30