microsoft / entra-verifiedid-wallet-library-ios

A library to manage your Decentralized Identities and Verified IDs on iOS.
MIT License
25 stars 11 forks source link

Fix bug in constraints with new Verified ID type. #76

Closed symorton closed 9 months ago

symorton commented 9 months ago

Problem: OpenID4VCIVerifiedID is a new Verified ID type. The constraints layer in presentation depends on the VCVerifiedID properties to filter by type and claims in the VC.

Solution: Create a new protocol InternalVerifiedID that VCVerifiedID and OpenID4VCIVerifiedID to conform to that exposes type and raw VC value to fix bug.

Validation:

Type of change:

Risk:

Work Item links: Please include here links for this work item, or deferred work, or related work. E.g. if the refactoring is too big to fit in this PR, or the localized strings need to be updated later, please link the TODO work items here.

Documentation Links: Please include here links to any related background documentation for this PR.