GRPC C++  1.66.0
Public Member Functions
grpc::MetadataCredentialsPlugin Class Referenceabstract

User defined metadata credentials. More...

#include <credentials.h>

Public Member Functions

virtual ~MetadataCredentialsPlugin ()
 
virtual bool IsBlocking () const
 If this method returns true, the Process function will be scheduled in a different thread from the one processing the call. More...
 
virtual const char * GetType () const
 Type of credentials this plugin is implementing. More...
 
virtual grpc::Status GetMetadata (grpc::string_ref service_url, grpc::string_ref method_name, const grpc::AuthContext &channel_auth_context, std::multimap< grpc::string, grpc::string > *metadata)=0
 Gets the auth metatada produced by this plugin. More...
 
virtual grpc::string DebugString ()
 

Detailed Description

User defined metadata credentials.

Constructor & Destructor Documentation

◆ ~MetadataCredentialsPlugin()

virtual grpc::MetadataCredentialsPlugin::~MetadataCredentialsPlugin ( )
inlinevirtual

Member Function Documentation

◆ DebugString()

virtual grpc::string grpc::MetadataCredentialsPlugin::DebugString ( )
inlinevirtual

◆ GetMetadata()

virtual grpc::Status grpc::MetadataCredentialsPlugin::GetMetadata ( grpc::string_ref  service_url,
grpc::string_ref  method_name,
const grpc::AuthContext channel_auth_context,
std::multimap< grpc::string, grpc::string > *  metadata 
)
pure virtual

Gets the auth metatada produced by this plugin.

The fully qualified method name is: service_url + "/" + method_name. The channel_auth_context contains (among other things), the identity of the server.

◆ GetType()

virtual const char* grpc::MetadataCredentialsPlugin::GetType ( ) const
inlinevirtual

Type of credentials this plugin is implementing.

◆ IsBlocking()

virtual bool grpc::MetadataCredentialsPlugin::IsBlocking ( ) const
inlinevirtual

If this method returns true, the Process function will be scheduled in a different thread from the one processing the call.


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