Julien Boeuf
14929d4e35
Credentials plugin fixes (after the branch was merged).
9 years ago
David Garcia Quintas
328deb28de
Removed grpc_security.h from auth_context.h
9 years ago
Craig Tiller
d6599a39e4
Replicate C++ docs from master to beta branch
...
Original PR #3074 by @dgquintas
9 years ago
Craig Tiller
00ad71c135
Revert "C++ docs"
9 years ago
David Garcia Quintas
a570d6334d
Fixes to comments and to examples
9 years ago
Julien Boeuf
2d041188db
Design and implementation of the core credentials plugin API.
...
- We use C++ as an example to show how this API can be used while still
providing an idiomatic interface in the wrapped language of choice.
- No testing yet.
9 years ago
David Garcia Quintas
14111e9da1
Added grpc++.h with mainpage docs.
...
Minor fixes to previously existing docs.
9 years ago
Julien Boeuf
0d47192afa
Fixing headers and paths after merge with upstream.
9 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago
Julien Boeuf
0c711ad88b
Adding C++ metadata processor.
...
- Had to chnage the core API to add a destroy function pointer in
grpc_auth_metadata_processor.
- Tested end to end.
- Fixed some issues in the server_auth_filter (we were not checking the
length which put us at risk of an overflow).
9 years ago
David Garcia Quintas
c5318a2aa7
MOAR COMMENTS
9 years ago
David Garcia Quintas
3306bcd1a1
Docs for streams + exposed auth properties
9 years ago
yang-g
730055d962
implementation fix
9 years ago
yang-g
dafcce980d
channel creation API change
9 years ago
Julien Boeuf
35b559f6f7
Aligning C++ interface with C for the auth metadata processor.
9 years ago
yang-g
0d9f81f741
minor fixes
9 years ago
David Garcia Quintas
c4de3a2c24
Docstrings for Channel, ChannelCreate and ChannelArguments.
9 years ago
David Garcia Quintas
4dd03f9f73
Comments on the comments. Meta much?
9 years ago
Craig Tiller
47ec9a40ad
Add ostream support for string_ref
9 years ago
Julien Boeuf
510a920c75
Credentials cleanup:
...
- Removing service_accounts credentials. These credentials just have
drawbacks compared to service_account_jwt_access credentials, notably
in terms for security.
- Renaming Google specific credentials with a Google prefix for C and
C++. This should be done as well for wrapped languages.
9 years ago
David Garcia Quintas
82bdd3f239
First pass.
9 years ago
David Garcia Quintas
1678c58183
wip
9 years ago
yang-g
d090fe1379
auth context api change for string_ref
9 years ago
yang-g
e21908fcee
impl
9 years ago
yang-g
1eeb21c4df
api change to string_ref
9 years ago
yang-g
d5539ec6e2
remove constexpr since gcc 4.4 or vs2010 does not support it
9 years ago
Julien Boeuf
8fd915ab8d
Adding grpc::string_ref class.
...
- Strict subset of
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3442.html
- Useful to avoid unnecessary string copies.
9 years ago
David Garcia Quintas
3068af2981
wip
9 years ago
Vijay Pai
e8a7e30a75
Eliminate public thread-pool interface
9 years ago
yang-g
9fb35a5332
split stream.h into sync_stream.h and async_stream.h
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
yang-g
c317f07b56
Make Channel ctor private
9 years ago
yang-g
ef00308e39
remove internal_stub
9 years ago
yang-g
c2bd8a6d1a
Fix server side and generic stub
9 years ago
yang-g
431f8c2b5f
make registermethod private
9 years ago
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
9 years ago
Craig Tiller
9374ce819b
Add comments, fix a subtle bug
9 years ago
yang-g
b9b9d6ee8e
add a README for include/grpc++/impl
9 years ago
Craig Tiller
e50e5cbde2
Add a timeout to shutdown to forcefully end calls
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
Julien Boeuf
bc265583d6
Addressing comments. Thanks Yang!
9 years ago
Julien Boeuf
bf25bb01bb
Few improvements:
...
- Guarantee the lifetime of objects passed to the processor.
- Add an option for implementers of the processor to make it
non-blocking.
9 years ago
Julien Boeuf
c2274e7069
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.
9 years ago
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
9 years ago
yang-g
0c034a01d1
client code clean up
9 years ago
David Garcia Quintas
beac88ca56
Server: added the ability to disable compression algorithm
9 years ago
yang-g
ffc8a6b431
move auth property iterator declaration into auth_context.h
9 years ago
yang-g
c8abca8f53
Resolve comments
9 years ago
Craig Tiller
8e5de39fb9
Document finish
9 years ago
Craig Tiller
2c3be1df4f
Add tests for C++ propagation
9 years ago