You also might want to have a look at 
https://github.com/grpc/grpc/tree/master/src/csharp/Grpc.Auth since that's 
the cleaner way to achieve what you try. You can implement an ` 
<https://github.com/grpc/grpc/blob/master/src/csharp/Grpc.Auth/GoogleAuthInterceptors.cs#L44>
AsyncAuthInterceptor` 
<https://github.com/grpc/grpc/blob/master/src/csharp/Grpc.Auth/GoogleAuthInterceptors.cs#L44>
 
that you then can use for `ChannelCredentials` 
<https://github.com/grpc/grpc/blob/master/src/csharp/Grpc.Auth/GoogleGrpcCredentials.cs#L78>
.

I still have to check on how to implement the server side for 
checking/validating the token and making the result available through the 
call context. But this should at least solve your current problem.

-- 
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/131878f8-4717-4ecd-a892-d596b25958d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to