clerk / clerk-sdk-java

9 stars 7 forks source link

add JwtHelper.verifyJwt method and tests SPE-3699 #15

Closed davidmoten closed 2 months ago

davidmoten commented 2 months ago

SPE-3699

For discussion purposes, not ready to merge

This PR

The public API of the JwtHelper.verifyJwt method is decoupled from the underlying java JWT implementation (jjwt) with the exception of the Claims object returned from the method. I see three options:

Please advise a preference.

Ignore the whitespace changes in gradlew.bat, we can worry about that another time.

BTW I notice that the project doesn't import properly into Eclipse (though builds fine). All good, sorted, was an Eclipse metadata issue.

Before merging we'll have to make sure that these clerk-owned files are not touched by generation updates.