Public Attributes | List of all members
grpc_auth_metadata_processor Struct Reference

#include <grpc_security.h>

Public Attributes

void(* destroy )(void *state)
 
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)
 
void * state
 

Detailed Description

Pluggable server-side metadata processor object.

Definition at line 591 of file grpc_security.h.

Member Data Documentation

◆ destroy

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

Definition at line 599 of file grpc_security.h.

◆ 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.

Definition at line 596 of file grpc_security.h.

◆ state

void* grpc_auth_metadata_processor::state

Definition at line 600 of file grpc_security.h.


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


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