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

Beejones/refactor validation pipeline #84

Closed beejones closed 3 years ago

beejones commented 3 years ago

Problem: Some applications want to use SiopValidator without fetching the tokens in the SIOP

Solution: SiopValidator is not retrieving tokens. This is done in SiopTokenValidator which puts the tokens in the queue. The pattern is normalized for the other validators. An optimization feature to accept ClaimToken as input in Validator.validator.

Validation: Updated unit tests

Type of change:

Risk: