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

When a VP/VC has been revoked, return IValidatorOptions.invalidTokenError #127

Closed gproanomsft closed 3 years ago

gproanomsft commented 3 years ago

Use IValidatorOptions.invalidTokenError for the response to a revoked VC Verify with unit tests

Problem: Error response for revoked VP/VC was hardcoded

Solution: Use configured value

Validation: Unit tests were amended

Type of change:

Risk: