diff options
author | Julien Boeuf <jboeuf@google.com> | 2015-11-19 22:00:30 -0800 |
---|---|---|
committer | Julien Boeuf <jboeuf@google.com> | 2015-11-19 22:00:30 -0800 |
commit | caf9935e456436a54931bf8112c25515100ccd20 (patch) | |
tree | 747174993820106e15b9dc22c7ef8a8a222578fe /src/csharp/ext | |
parent | 35b6b94667daeb2246e1c68aafea6cb589acae75 (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/csharp/ext')
-rw-r--r-- | src/csharp/ext/grpc_csharp_ext.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/csharp/ext/grpc_csharp_ext.c b/src/csharp/ext/grpc_csharp_ext.c index e6a2664c53..b8705c49d3 100644 --- a/src/csharp/ext/grpc_csharp_ext.c +++ b/src/csharp/ext/grpc_csharp_ext.c @@ -950,6 +950,7 @@ GPR_EXPORT grpc_call_credentials *GPR_CALLTYPE grpcsharp_metadata_credentials_cr plugin.get_metadata = grpcsharp_get_metadata_handler; plugin.destroy = grpcsharp_metadata_credentials_destroy_handler; plugin.state = (void*)(gpr_intptr)metadata_interceptor; + plugin.type = ""; return grpc_metadata_credentials_create_from_plugin(plugin, NULL); } |