-
- Downloads
Adding C++ auth metadata processor.
- We always do the processing asynchronously but maintain a synchronous API for the implementor of the processor. - there are a lot of string copies right now. Having a StringPiece object in grpc++ would really help with that (as we would use it for C++ metadata). - Please review the API carefully and if you're happy with it, I'll proceed with tests.
Showing
- include/grpc++/auth_context.h 5 additions, 0 deletionsinclude/grpc++/auth_context.h
- include/grpc++/auth_metadata_processor.h 60 additions, 0 deletionsinclude/grpc++/auth_metadata_processor.h
- include/grpc++/server_credentials.h 5 additions, 0 deletionsinclude/grpc++/server_credentials.h
- src/cpp/common/secure_auth_context.cc 12 additions, 0 deletionssrc/cpp/common/secure_auth_context.cc
- src/cpp/common/secure_auth_context.h 6 additions, 0 deletionssrc/cpp/common/secure_auth_context.h
- src/cpp/server/insecure_server_credentials.cc 2 additions, 0 deletionssrc/cpp/server/insecure_server_credentials.cc
- src/cpp/server/secure_server_credentials.cc 50 additions, 0 deletionssrc/cpp/server/secure_server_credentials.cc
- src/cpp/server/secure_server_credentials.h 26 additions, 1 deletionsrc/cpp/server/secure_server_credentials.h
- test/cpp/common/secure_auth_context_test.cc 10 additions, 10 deletionstest/cpp/common/secure_auth_context_test.cc
include/grpc++/auth_metadata_processor.h
0 → 100644
Please register or sign in to comment