Karthik Ravi Shankar
1de0bfd9e2
Revert "Revert "Move create_channel and credentials from ::grpc_impl to ::grpc""
4 years ago
Karthik Ravi Shankar
f1bc43edf6
Revert "Move create_channel and credentials from ::grpc_impl to ::grpc"
4 years ago
Karthik Ravi Shankar
fa0c73146c
Fix formatting issue
4 years ago
Karthik Ravi Shankar
0963497181
Fix fetch oauth2 test
4 years ago
Julien Boeuf
109edca971
Adding C++ API and implementation for STS credentials:
...
- marked as experimental.
- also changed the name of a field in the options struct.
5 years ago
Julien Boeuf
189c2c8c30
Adding support for STS Token Exchange Creds in core:
...
- IETF specification is available here:
https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16
6 years ago
Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Vijay Pai
8a99fdb57e
Move cmdline and subprocess from public gpr to test/core/util
7 years ago
Craig Tiller
be98d24841
clang-format after nullptr changes
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Craig Tiller
28b72428a8
clang-format
8 years ago
Craig Tiller
618e67d655
s/GPR_SLICE/GRPC_SLICE/g
8 years ago
Craig Tiller
b37d53ebc0
Bulk update #includes
8 years ago
Craig Tiller
d41a4a720f
s/gpr_slice/grpc_slice, and move around tests, impls
8 years ago
Craig Tiller
8517886c6a
Move load_file into iomgr
9 years ago
Craig Tiller
ba4a862b2c
Fix compile errors
9 years ago
Julien Boeuf
8ca294e417
Refactoring the core security code.
...
As opposed to a flat directory, we now have the following structure:
- security
-context
- credentials
- composite
- fake
- google_default
- iam
- jwt
- oauth2
- plugin
- ssl
- transport
- util
We have not refactored the test code yet but this PR is already large
enough...
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
9533d042d4
Fix includes
9 years ago
Craig Tiller
19fa540100
Fix copyrights
9 years ago
Craig Tiller
732a875fe8
Add a sanity test for name aliasing
9 years ago
Julien Boeuf
4e02e84062
Got the core test passing.
9 years ago
Craig Tiller
a82950e683
clang-format all core files
9 years ago
Craig Tiller
45724b35e4
indent pass to get logical source lines on one physical line
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
Julien Boeuf
c17fecd224
Fixing tests.
9 years ago
yang-g
be5f059219
Add oauth2_auth_token test case in interop test
10 years ago
Craig Tiller
143e7bf0cf
Introduce a clock type field onto gpr_timespec.
...
Use it to validate that arithmetic on time types makes even some vague
kind of sense.
10 years ago
Craig Tiller
7552f0f958
Ensure tests are built during run_tests runs
...
The issue remains that we don't test our tools, but at least we test
that they compile.
10 years ago
Nicolas "Pixel" Noble
8535263b94
Fixing tools compilation.
10 years ago
Julien Boeuf
28d75d9349
Adding option to add a null terminator when loading a file.
...
- This will take care of a potential issue with default credentials
where the slice pointer is casted as const char * for APIs that need a
null terminated string.
10 years ago
Julien Boeuf
9835cf0234
Adding refresh token credentials.
...
- The google default credentials now work with the cloud SDK.
- Verified end to end with print_default_credentials and fetch_oauth2
tools.
10 years ago
Julien Boeuf
25380de72d
Adding tool for generating JWTs on the command line.
10 years ago
Julien Boeuf
f47a5cb93d
Implementing JWT credentials (a.k.a JWT ID Tokens).
...
- Not tested end to end yet
10 years ago
Julien Boeuf
90bd7c4c4d
Fixing sprintf and a few other things.
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
jboeuf
1a809c0ebb
Adding support for service account credentials.
...
- Tested end to end with a JSON key I generated for my account using the
fetch_oauth2 binary.
- The same fetch_oauth2 binary can get a token from the GCE metadata service on a VM in cloud.
Change on 2014/12/19 by jboeuf <jboeuf@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82548689
10 years ago