GRPC C++  1.30.0
Public Member Functions
grpc_impl::MetadataCredentialsPlugin Class Referenceabstract

User defined metadata credentials. More...

#include <credentials_impl.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_impl::MetadataCredentialsPlugin::~MetadataCredentialsPlugin ( )
inlinevirtual

Member Function Documentation

◆ DebugString()

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

◆ GetMetadata()

virtual grpc::Status grpc_impl::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_impl::MetadataCredentialsPlugin::GetType ( ) const
inlinevirtual

Type of credentials this plugin is implementing.

◆ IsBlocking()

virtual bool grpc_impl::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: