ydb-platform / ydb-java-sdk

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

New module with OAuth2 provider implementation #282

Closed alex268 closed 5 months ago

alex268 commented 5 months ago

Fix #272

codecov-commenter commented 5 months ago

Codecov Report

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

Project coverage is 45.71%. Comparing base (ef49df2) to head (e4d7f72). Report is 6 commits behind head on master.

Files Patch % Lines
...in/java/tech/ydb/core/auth/BackgroundIdentity.java 74.02% 15 Missing and 5 partials :warning:
...ava/tech/ydb/auth/OAuth2TokenExchangeProvider.java 94.07% 6 Missing and 2 partials :warning:
...ain/java/tech/ydb/core/auth/StaticCredentials.java 84.00% 4 Missing and 4 partials :warning:
...src/main/java/tech/ydb/auth/OAuth2TokenSource.java 94.80% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #282 +/- ## ============================================ + Coverage 44.39% 45.71% +1.31% - Complexity 1571 1620 +49 ============================================ Files 297 300 +3 Lines 11505 11807 +302 Branches 1124 1146 +22 ============================================ + Hits 5108 5397 +289 - Misses 5988 5999 +11 - Partials 409 411 +2 ```

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

alex268 commented 5 months ago

Added examples of usage with a static token and with a RSA private key