microsoft / VerifiableCredentials-Verification-SDK-Typescript

An SDK to help Relying Parties manages their Decentralized Identities and Verifiable Credentials.
MIT License
53 stars 14 forks source link

allow the rules file to contain a scope value for the client to follow #62

Closed gproanomsft closed 4 years ago

gproanomsft commented 4 years ago

add test case to ensure existing rule files without scope continue to work

Problem: The rules file does not allow a way to specify scope for the client in the open id flow

Solution: Provide a property in the ID Token Attestation class to specify a scope value that augments the required openid value

Validation: Unit test to ensure the scope value propogates and that existing rules are backwards compatible

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.