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

Added custom flags support #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomadimitrie
Copy link

@tomadimitrie tomadimitrie commented Aug 28, 2024

Currently, the class uses hardcoded flags for the methods:

  • get (USER_PRESENT, ATTESTED_CREDENTIAL_DATA_INCLUDED)
  • update (USER_PRESENT)

However, some relying parties need certain flags. The most useful example is USER_VERIFIED.

This PR introduces the option to specify the flags, without breaking current behavior. It also includes some tests for this feature.

@tomadimitrie tomadimitrie force-pushed the custom-flags branch 2 times, most recently from 0c3497b to 1071d81 Compare August 28, 2024 21:55
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.

1 participant