ydb-platform / ydb-java-sdk

YDB Java SDK
https://ydb.tech
Apache License 2.0
37 stars 21 forks source link

Load OAuth 2.0 token exchange credentials provider from config file #296

Closed UgnineSirdis closed 4 months ago

UgnineSirdis commented 4 months ago

Load OAuth 2.0 token exchange credentials provider from config file Implement RFC part in Java SDK: https://github.com/ydb-platform/ydb-rfc/blob/main/cli_oauth2_token_exchange.md

codecov-commenter commented 4 months ago

Codecov Report

Attention: Patch coverage is 82.30088% with 40 lines in your changes missing coverage. Please review.

Project coverage is 46.47%. Comparing base (2327294) to head (bf62f5a).

Files Patch % Lines
...ava/tech/ydb/auth/OAuth2TokenExchangeProvider.java 84.65% 9 Missing and 20 partials :warning:
...src/main/java/tech/ydb/auth/OAuth2TokenSource.java 70.27% 7 Missing and 4 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #296 +/- ## ============================================ + Coverage 45.87% 46.47% +0.60% - Complexity 1638 1677 +39 ============================================ Files 303 303 Lines 11874 12082 +208 Branches 1153 1207 +54 ============================================ + Hits 5447 5615 +168 - Misses 6013 6030 +17 - Partials 414 437 +23 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.