Skip to content
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

Feature/tech 334 scope request get failing constraints #64

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

kevinhcolgan
Copy link

@kevinhcolgan kevinhcolgan commented Sep 9, 2024

Add a new static function on ScopeRequest 'getFailingConstraints' that returns an array of the credentials, and constraints that don't meet the DSR constraints. It uses VC.isMatch under the head, isolating and running each constraint individually to get the failing ones.

Also changed the name of the package to '@civic.com/dsr' from the old identity.com one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants