Hi 

my current project is using gRPC (*java*) for service communications. We 
have our own way of authenticate and authorize the client request. Reading 
from https://grpch


*Q1: is this the interface that I should implement?*

public interface CallCredentials {}


*Q2: given the code example in this class (see below), it seems it will carry 
credential information for rpc calls, *

*is there a way I can pass the credentials when creating the channel?*


FooGrpc.FooStub stub = FooGrpc.newStub(channel);
response = stub.withCallCredentials(creds).bar(request);


*Q3: how should I plugin the custom authentication/authorization mechanism on 
gRPC server side?*


Thanks a lot!

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/16c44599-682e-490b-875f-ddaf4e960095%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to