uport-project / kotlin-did-jwt

Create and verify uPort and DID compliant JWTs in Kotlin
https://developer.uport.me
Apache License 2.0
8 stars 6 forks source link

[Dependency] Claims support for JWTPayload #4

Open ugoamanoh opened 5 years ago

ugoamanoh commented 5 years ago

What's Here

This is a dependency for another PR https://github.com/uport-project/uport-android-sdk/pull/99

It adds a new property requestClaims to the JWTPayload, which can be used when making a selective disclosure request.

To prevent confusion with the previous JWTPayload property claim which is specific to the response from a Verified Claim request flow has been renamed to responseClaims.

Testing

Run the gradle command ./gradlew test cC --no-parallel

mirceanis commented 5 years ago

put this on hold this since it's unclear if this API is expected to be used