-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add TokenVerifier class that can verify RS256/ES256 tokens #420
Merged
chingor13
merged 21 commits into
googleapis:master
from
chingor13:verify-id-token-instance
Jun 24, 2020
Merged
feat: add TokenVerifier class that can verify RS256/ES256 tokens #420
chingor13
merged 21 commits into
googleapis:master
from
chingor13:verify-id-token-instance
Jun 24, 2020
Conversation
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
googlebot
added
the
cla: yes
This human has signed the Contributor License Agreement.
label
Apr 24, 2020
Codecov Report
@@ Coverage Diff @@
## master #420 +/- ##
============================================
+ Coverage 79.50% 79.86% +0.36%
- Complexity 397 409 +12
============================================
Files 27 28 +1
Lines 1800 1927 +127
Branches 186 201 +15
============================================
+ Hits 1431 1539 +108
- Misses 269 280 +11
- Partials 100 108 +8
Continue to review full report at Codecov.
|
Unit tests mock out the http request activity. Integration tests hit the live urls.
elharo
reviewed
May 28, 2020
elharo
reviewed
May 28, 2020
bshaffer
reviewed
May 29, 2020
BenWhitehead
reviewed
Jun 3, 2020
bshaffer
reviewed
Jun 5, 2020
bshaffer
approved these changes
Jun 24, 2020
@BenWhitehead @elharo If you have no additional concerns can one of you approve this PR? |
BenWhitehead
approved these changes
Jun 24, 2020
gcf-merge-on-green bot
pushed a commit
that referenced
this pull request
Jun 24, 2020
🤖 I have created a release \*beep\* \*boop\* --- ## [0.21.0](https://www.github.com/googleapis/google-auth-library-java/compare/v0.20.0...v0.21.0) (2020-06-24) ### Features * add TokenVerifier class that can verify RS256/ES256 tokens ([#420](https://www.github.com/googleapis/google-auth-library-java/issues/420)) ([5014ac7](https://www.github.com/googleapis/google-auth-library-java/commit/5014ac72a59d877ef95c616d0b33792b9fc70c25)) ### Dependencies * update autovalue packages to v1.7.2 ([#429](https://www.github.com/googleapis/google-auth-library-java/issues/429)) ([5758364](https://www.github.com/googleapis/google-auth-library-java/commit/575836405bd5803d6202bd0018609184d6a15831)) * update dependency com.google.http-client:google-http-client-bom to v1.35.0 ([#427](https://www.github.com/googleapis/google-auth-library-java/issues/427)) ([5494ec0](https://www.github.com/googleapis/google-auth-library-java/commit/5494ec0a73319fb955b3d7ba025aea9607020c4e)) * update Guava to 29.0-android ([#426](https://www.github.com/googleapis/google-auth-library-java/issues/426)) ([0cd3c2e](https://www.github.com/googleapis/google-auth-library-java/commit/0cd3c2ec0aef3ff0f0379b32f9d05126442219b6)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Exposes interface for validating Google signed RS256/ES256 JWT tokens.
This implementation returns a
JsonWebSignature
instance (from google-http-client) on success and throws aVerificationException
on any error.Usage:
Fixes #85