We now have APIs to do this:
Client Side: create your own credentials with the credentials metadata plugin API:
https://github.com/grpc/grpc/blob/master/include/grpc/grpc_security.h#L292
Server Side interceptor: auth metadata processor:
https://github.com/grpc/grpc/blob/master/include/grpc/grpc_security.h#L383
How can I do this kind of authentication for each connection?How can I do this kind of authentication for each call?
Where do I put that if(inputUsername == dbUsername && inputPassword == dbPassword) statement? And return a boolean?
Can I do it without encryption?
I understand that plain text is insecure. Thx.
--
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 grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/cc5a118d-196b-486f-8a37-99f94f438ebc%40googlegroups.com.