class MetadataCredentialsPlugin

Defined at line 239 of file ../../third_party/grpc-migrating/src/include/grpcpp/security/credentials.h

User defined metadata credentials.

Public Methods

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)

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.

void ~MetadataCredentialsPlugin ()

Defined at line 241 of file ../../third_party/grpc-migrating/src/include/grpcpp/security/credentials.h

bool IsBlocking ()

If this method returns true, the Process function will be scheduled in

a different thread from the one processing the call.

Defined at line 245 of file ../../third_party/grpc-migrating/src/include/grpcpp/security/credentials.h

const char * GetType ()

Type of credentials this plugin is implementing.

Defined at line 248 of file ../../third_party/grpc-migrating/src/include/grpcpp/security/credentials.h

grpc::string DebugString ()

Defined at line 260 of file ../../third_party/grpc-migrating/src/include/grpcpp/security/credentials.h