Karthik Ravi Shankar
dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace."""
6 years ago
Karthik Ravi Shankar
4cb0d0d6b1
Fix errors from clang scripts
6 years ago
Karthik Ravi Shankar
1061604a01
Fix clang_format_code.sh errors
6 years ago
Karthik Ravi Shankar
c08e5bee40
Fix make errors
6 years ago
Karthik Ravi Shankar
2772f519e6
Fix errors from presubmit scripts.
6 years ago
Karthik Ravi Shankar
4a0c3b848f
Fix broken tests
6 years ago
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
6 years ago
Yuwei Huang
3cbf4f50ea
Remove extra semicolons after function definitions
...
We are planning to enable -Wextra-semi flag in our project but some
header files in gRPC have extra semicolons that violates the check and
blocks us from enabling the flag.
This change removes unnecessary semicolons in the code. Note that having
semicolon after the GRPC_ABSTRACT macro technically also violates the
check, but it's fine for us since they are not used in public headers,
and it will be confusing to have lines ending only with GRPC_ABSTRACT,
so I keep them as-is.
6 years ago
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
6 years ago
Nicolas "Pixel" Noble
cabbd35014
Reformat.
6 years ago
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
6 years ago
Yash Tibrewal
626f1c9d53
Remove the std::unique_ptr, instead use move semantics everywhere
6 years ago
Yash Tibrewal
1d999617e2
Add experimental versions with interceptors for create channel from fd and inproc channel
6 years ago
Yash Tibrewal
a1598c5abf
Create interfaces and initial plumbing for interception API
6 years ago
Yihua Zhang
acc6ba0c24
Add C++ wrapper for local credentials
6 years ago
Yihua Zhang
fe2fa0c1c8
Add C++ experimental API extensions for ALTS C stack
7 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
Julien Boeuf
da8eca56e2
Better handling of token lifetime.
...
- In C++, we need a constant for the max lifetime.
- In C, make sure that we crop the lifetime in the credentials object
itself and not just later during the creation of the token. This will
allow the refresh to occur based on the actual token lifetime as opposed
to the one from the user (which may be cropped).
8 years ago
Mehrdad Afshari
bb3d95b643
Use https://grpc.io consistently as the canonical URL
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Mehrdad Afshari
59cd2d7f66
doxygenize include/grpc++/security/credentials.h comments
8 years ago
Alexander Polcyn
d809a15ec4
cpp doc nits
8 years ago
Garrett Casto
931a26bf5b
Add C++ Api
8 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
David Garcia Quintas
3598d4457d
Fixed include guards
9 years ago
David Garcia Quintas
60ee8dd2fc
docstrings
9 years ago
yang-g
46d22d5fa7
add missing base class
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
David Garcia Quintas
e1300deb87
After GrpcLibrary refactoring. Compiles and passes. WIP still
9 years ago
Craig Tiller
896ef305bc
Add copyright checks to sanity; make them verify copyright year is valid
9 years ago
Craig Tiller
de3da74866
Add copyright checks to sanity; make them verify copyright year is valid
9 years ago
sammcveety
cbf2dfed88
Update link in credentials.h to point to grpc.io
9 years ago
Julien Boeuf
77bc16e38e
Fixing cpp auth doc pointers.
9 years ago
Nicolas "Pixel" Noble
ba404826be
Clang format.
9 years ago
Julien Boeuf
6489740a7c
Improving documentation.
9 years ago
Julien Boeuf
67c2c95788
Fixing typo.
9 years ago
Julien Boeuf
114f39475f
Cpp example of how the plugins can be done.
9 years ago
Craig Tiller
b774be46d7
clang-format
9 years ago
Craig Tiller
b113649517
clang-format
9 years ago
Julien Boeuf
54a902ed17
Successfully compile C++ libary (not tests yet).
9 years ago
Julien Boeuf
8b0b6f413d
It is a bad idea to have a map with string_refs as output params.
...
This is very much unsafe as the string_ref could point on a stack
variable of the callee.
9 years ago
Julien Boeuf
14929d4e35
Credentials plugin fixes (after the branch was merged).
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
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago
yang-g
730055d962
implementation fix
9 years ago
David Garcia Quintas
4dd03f9f73
Comments on the comments. Meta much?
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