energywebfoundation / iam-client-lib

TypeScript library to be used within decentralised applications for authentication and authorisation using DIDs (Decentralised Identifiers) and VCs (Verifiable Credentials)
GNU General Public License v3.0
19 stars 9 forks source link

feat(verifyVC): add verifyVC method to Claims Service #592

Closed whitneypurdum closed 2 years ago

whitneypurdum commented 2 years ago

Description

Contributor checklist

whitneypurdum commented 2 years ago

It looks like it's coming along, thanks @whitneypurdum . I think the biggest thing to do is to update the @energyweb/vc-verification package to use the latest library API.

Also, it seems like the changes to domains.service and verifiable-credentials-base.service are just styling. IMO, I would remove these changes from the PR to avoid having them included in the history and limit the PR to the relevant functional changes.

It looks like it's coming along, thanks @whitneypurdum . I think the biggest thing to do is to update the @energyweb/vc-verification package to use the latest library API.

Also, it seems like the changes to domains.service and verifiable-credentials-base.service are just styling. IMO, I would remove these changes from the PR to avoid having them included in the history and limit the PR to the relevant functional changes.

Sure thing, these have been removed from PR.

whitneypurdum commented 2 years ago

@JGiter @jrhender Hopefully my changes align with what you intended above! I removed the error handling from verifyIssuer because I think the method in ew-credentials throws descriptive errors already, plus it does not return boolean value anymore for conditional check. I have squashed my commits.

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

ewf-devops commented 2 years ago

:tada: This PR is included in version 6.0.0-alpha.29 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

ewf-devops commented 2 years ago

:tada: This PR is included in version 6.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: