Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add GDCH support * feat: add GDCH support * fix the format * change the grant_type to token exchange type * add more unit tests * remove implementing JwtProvider from GdchCredentials class * address the comments * add custom httpTransport for ca cert * add more unit test * add more unit test * add an overload method for fromJSON in GdchCredentials * add more unit test * address the comments * fix test cert path * remove `privateKeyFromPkcs8` from ServiceAccountCredentials and refer to the helper method in OAuth2Utils * add a javadoc for `TransportFactoryForGdch` * change `ca_cert_path` to optional * revert ca cert path to required * fix the format * revert back to ca cert path optional Co-authored-by: Timur Sadykov <stim@google.com>
- Loading branch information
1 parent
6f32ac3
commit cfafb2d
Showing
15 changed files
with
1,834 additions
and
100 deletions.
There are no files selected for viewing
528 changes: 528 additions & 0 deletions
528
oauth2_http/java/com/google/auth/oauth2/GdchCredentials.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.