Vijay Pai
f6b38f75a4
Revert "feat: add x-goog-user-project header from quota_project_id field"
5 years ago
Julien Boeuf
f930322bf9
Add more tests for STS
...
- ensure that we don't crash if the token file is not readable.
- fixed the oauth2 token fetcher as well.
5 years ago
Takashi Matsuo
9bed17b987
feat: add x-goog-user-project header from quota_project field
5 years ago
Julien Boeuf
323e23a7c5
Fix STS credentials to ignore empty actor token path.
5 years ago
Yihua Zhang
e10d90ba27
add security level negotiation between call creds and channel.
5 years ago
Juanli Shen
2693d34c30
Make StringView cmp compatible with absl
5 years ago
Jan Tattermusch
13843be76e
fix type
5 years ago
Jan Tattermusch
eb137ea519
clang format
5 years ago
Jan Tattermusch
04796c8ccb
fix //test/core/security:credentials_test under local bazel run
5 years ago
Julien Boeuf
cedf76ee9a
Fixing bug where subject token was used instead of the actor token.
5 years ago
Esun Kim
3a519a0b64
Replaced grpc_core New & Delete with C++ new & delete
5 years ago
Esun Kim
de81f120b2
Abseilify StringView
5 years ago
Yash Tibrewal
3a189d7e08
test changes
5 years ago
Vijay Pai
fb682f8c6e
clang-format
5 years ago
Vijay Pai
8ff71276f5
Remove unused parameter warning (11 of 20)
5 years ago
Hope Casey-Allen
59564ebd96
Fix warnings to unblock gcc8 support
5 years ago
Soheil Hassas Yeganeh
ea63c00d38
Revert "Fix build failure in credential_test.cc"
...
This reverts commit dc858eea25
.
5 years ago
Soheil Hassas Yeganeh
dc858eea25
Fix build failure in credential_test.cc
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
5 years ago
Esun Kim
90fbdc92f5
Roll-forward "Config migration"
...
This reverts commit 236ae12bb1
.
6 years ago
Alexander Polcyn
236ae12bb1
Revert "Config migration"
...
This reverts commit 87905ae5ea
.
6 years ago
Esun Kim
87905ae5ea
Config migration
6 years ago
Chris Wilcox
df6cf7c741
Add period at end of metadata.google.internal to prevent unnecessary DNS lookups.
6 years ago
Mark D. Roth
09a173b4b6
Remove now-unnecessary workarounds for alignment issues.
6 years ago
Soheil Hassas Yeganeh
9decf48632
Move security credentials, connectors, and auth context to C++
...
This is to use `grpc_core::RefCount` to improve performnace.
This commit also replaces explicit C vtables, with C++ vtable
with its own compile time assertions and performance benefits.
It also makes use of `RefCountedPtr` wherever possible.
6 years ago
Yihua Zhang
750e80ea1c
bring back original network test for metadata server detection
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
yang-g
a35f55fd70
move helper function into namespace
6 years ago
yang-g
83d74bf6fc
Remove the internal cache for google_default_credentials
6 years ago
Chris Lamb
fba18d8551
Fix a number of spelling errors.
6 years ago
Yihua Zhang
e145c52286
use a new gcp env check mechansim
7 years ago
Yihua Zhang
392dad7134
incorporate alts to google default creds
7 years ago
Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
7 years ago
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
7 years ago
Yash Tibrewal
75122c2357
Address some PR comments
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
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
7 years ago
Mark D. Roth
2caf021772
Change plugin credentials API to support both sync and async modes.
7 years ago
Yuchen Zeng
309c9de041
Update credentials_test
7 years ago
Mark D. Roth
e0778b2c18
Add cancellation to asynchronous security APIs.
7 years ago
Craig Tiller
c0df1c0f9a
Compiling again
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).
7 years ago
ncteisen
969b46ef73
Add rich closure debug mode
8 years ago