GRPC Core  43.0.0
Data Fields
grpc_auth_metadata_processor Struct Reference

Pluggable server-side metadata processor object. More...

#include <credentials.h>

Data Fields

void(* process )(void *state, grpc_auth_context *context, const grpc_metadata *md, size_t num_md, grpc_process_auth_metadata_done_cb cb, void *user_data)
 The context object is read/write: it contains the properties of the channel peer and it is the job of the process function to augment it with properties derived from the passed-in metadata. More...
 
void(* destroy )(void *state)
 
void * state
 

Detailed Description

Pluggable server-side metadata processor object.

Field Documentation

◆ destroy

void(* grpc_auth_metadata_processor::destroy) (void *state)

◆ process

void(* grpc_auth_metadata_processor::process) (void *state, grpc_auth_context *context, const grpc_metadata *md, size_t num_md, grpc_process_auth_metadata_done_cb cb, void *user_data)

The context object is read/write: it contains the properties of the channel peer and it is the job of the process function to augment it with properties derived from the passed-in metadata.

The lifetime of these objects is guaranteed until cb is invoked.

◆ state

void* grpc_auth_metadata_processor::state

The documentation for this struct was generated from the following file: