* Allow caller to skip checking required input attestations
When attestations are checked by the caller, skip the call to validateAllRequiredInputs
* repub
* do it right
* unwind a bunch of if checks and allow the caller to override validateAllRequiredInputs
* update rev
Co-authored-by: Guillermo Proano <gproano@microsoft.com>
* complete siop validation
* refactor, but all tests fail
* tests are passing now?
* now tests fail
* almost there
* new tests
* cleanup
* Add flag indicating whether or not InputModelAttestations populated
* getting there
* fixes
* generate a new package
* make hasAttestations a function
* revert
* bug fixes
* create a new package
* fix
Co-authored-by: Guillermo Proano <gproano@microsoft.com>
* complete siop validation
* refactor, but all tests fail
* tests are passing now?
* now tests fail
* almost there
* new tests
* cleanup
* PR feedback
Co-authored-by: Guillermo Proano <gproano@microsoft.com>
* Allow a siop token to be prevalidated elsewhere before processing it
* updates
* one more update
* refinements
* add unit tests
* cleanup
* cleanup
Co-authored-by: Guillermo Proano <gproano@microsoft.com>
* When a VP/VC has been revoked, return IValidatorOptions.invalidTokenError
Use IValidatorOptions.invalidTokenError for the response to a revoked VC
Verify with unit tests
* Standardize invalid Verifiable Presentation to return IValidatorOptions.invalidTokenError
* changelog
* the other place for VPs are validated
* up[date version
Co-authored-by: Guillermo Proano <gproano@microsoft.com>
Use IValidatorOptions.invalidTokenError for the response to a revoked VC
Verify with unit tests
Co-authored-by: Guillermo Proano <gproano@microsoft.com>
* JsonWebSignatureToken is a class for parsing JWS Compact Token strings
* CLaimToken is now tested
* a few more fixes
* changelog
* order of operations
* just need to purge superfluous spies
* back to 100%
* remove property until needed
Co-authored-by: Guillermo Proano <gproano@microsoft.com>