aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/client
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2015-11-19 22:00:30 -0800
committerGravatar Julien Boeuf <jboeuf@google.com>2015-11-19 22:00:30 -0800
commitcaf9935e456436a54931bf8112c25515100ccd20 (patch)
tree747174993820106e15b9dc22c7ef8a8a222578fe /src/cpp/client
parent35b6b94667daeb2246e1c68aafea6cb589acae75 (diff)
Also adding a credentials type to the plugin API.
The purpose of this is to be able to install a composition policy that describes which types are incompatible and that will be enforced during call creds composition. If this functionality is wanted it will be done in an additive function in the API like : void grpc_call_credentials_set_composite_policy( grpc_call_credentials_composite_policy policy);
Diffstat (limited to 'src/cpp/client')
-rw-r--r--src/cpp/client/secure_credentials.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/client/secure_credentials.cc b/src/cpp/client/secure_credentials.cc
index fa374f808a..bd68228460 100644
--- a/src/cpp/client/secure_credentials.cc
+++ b/src/cpp/client/secure_credentials.cc
@@ -208,7 +208,7 @@ std::shared_ptr<CallCredentials> MetadataCredentialsFromPlugin(
new MetadataCredentialsPluginWrapper(std::move(plugin));
grpc_metadata_credentials_plugin c_plugin = {
MetadataCredentialsPluginWrapper::GetMetadata,
- MetadataCredentialsPluginWrapper::Destroy, wrapper};
+ MetadataCredentialsPluginWrapper::Destroy, wrapper, ""};
return WrapCallCredentials(
grpc_metadata_credentials_create_from_plugin(c_plugin, nullptr));
}