-
Notifications
You must be signed in to change notification settings - Fork 0
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
Document the format of the credentials returned by the IdentityHubCredentialsVerifier. #36
Document the format of the credentials returned by the IdentityHubCredentialsVerifier. #36
Conversation
...java/org/eclipse/dataspaceconnector/identityhub/verifier/IdentityHubCredentialsVerifier.java
Outdated
Show resolved
Hide resolved
docs/developer/decision-records/2022-07-01-get-claims/README.md
Outdated
Show resolved
Hide resolved
docs/developer/decision-records/2022-07-01-get-claims/README.md
Outdated
Show resolved
Hide resolved
docs/developer/decision-records/2022-07-01-get-claims/README.md
Outdated
Show resolved
Hide resolved
The IdentityHubCredentialsVerifier returns a Map<String, Object>, it contains verifiable credentials with the following format: | ||
|
||
```json | ||
<verifiable-credential-id>: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cant we have more than one VC for a given verifiable-credential-id? For example if we are dealing with multiple VC issuers.
If yes, we can have a List. Maybe an example for illustrating this case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The goal of this PR is to document the format that is already used, but I agree that it could be simplified by using a List later.
Co-authored-by: Alexandre Gattiker <algattik@users.noreply.github.com>
...java/org/eclipse/dataspaceconnector/identityhub/verifier/IdentityHubCredentialsVerifier.java
Show resolved
Hide resolved
…ubCredentialsVerifier. (#36) (#17) * Documented claims format. * improved explanations. * Update docs/developer/decision-records/2022-07-01-get-claims/README.md Co-authored-by: Alexandre Gattiker <algattik@users.noreply.github.com> * Added subject in doc. * Made the json format valid. * Added information about the credentialSubject field. * Added @code. * Used pre . Co-authored-by: Alexandre Gattiker <algattik@users.noreply.github.com> Co-authored-by: Alexandre Gattiker <algattik@users.noreply.github.com>
What this PR changes/adds
Document the format of the Map<String, Object> returned by the IdentityHubCredentialsVerifier.
Linked Issue(s)
Closes # <-- insert Issue number if one exists
Checklist
no-changelog
)