GRPC C++  1.30.0
Data Fields
grpc_auth_metadata_context Struct Reference

Context that can be used by metadata credentials plugin in order to create auth related metadata. More...

#include <grpc_security.h>

Data Fields

const char * service_url
 The fully qualifed service url. More...
 
const char * method_name
 The method name of the RPC being called (not fully qualified). More...
 
const grpc_auth_contextchannel_auth_context
 The auth_context of the channel which gives the server's identity. More...
 
void * reserved
 Reserved for future use. More...
 

Detailed Description

Context that can be used by metadata credentials plugin in order to create auth related metadata.

Field Documentation

◆ channel_auth_context

const grpc_auth_context* grpc_auth_metadata_context::channel_auth_context

The auth_context of the channel which gives the server's identity.

◆ method_name

const char* grpc_auth_metadata_context::method_name

The method name of the RPC being called (not fully qualified).

The fully qualified method name can be built from the service_url: full_qualified_method_name = ctx->service_url + '/' + ctx->method_name.

◆ reserved

void* grpc_auth_metadata_context::reserved

Reserved for future use.

◆ service_url

const char* grpc_auth_metadata_context::service_url

The fully qualifed service url.


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