Defines the global behavior and security of VerifiablePresentationManager
An async function that is able to verify the presentation anchor in a public Blockchain
Adds a set of Verifiable Presentations and Evidences to the manager control
if neither skipAddVerify
or notThrow
are true, it throws an acception
once it process one invalid artifact.
Search for a valid claim that matches the criterias.
if allowGetUnverified
is true the search also include claim not verified yet.
the search never includes known invalid claims
return the STRING value of a valid avaliable claim.
if allowGetUnverified
is true it returns unverified values.
if notThrow
is true return null for known invalid claims
Return true if all artifacts are verified, otherwise return false
if neither skipGetVerify
or notThrow
are true, it throws an acception
List managed claim returning in accordance with the config
if allowGetUnverified
is true, claim that were not verified yet will be returned.
but known invalid presentations are never returned
List managed evidences
if allowGetUnverified
is true it return unverified values.
List managed claim of a given Credential type returning in accordance with the config
if allowGetUnverified
is true, claim that were not verified yet will be returned.
but known invalid presentations are never returned
List managed presentations returning in accordance with the config
if allowGetUnverified
is true, presentations that were not verified yet will be returned.
but known invalid presentations are never returned
Get a mapping from key to a claim search criteria and resolve the claim search criterias,
returning a mapping from the same keys to the relative claim value.
if allowGetUnverified
is true, then the search also includes claims not verified yet.
if no claim matches a claim criteria, the value for the relative key will be null.
Remove the invalid artifacts and return a status of the resultant artifacts
Verify all artifacts and return a status of all presentations and evidences
if neither skipAddVerify
or notThrow
are true, it throws an acception
once it process one invalid artifact.
Verify if a presentation was GRANTED for a specific DSR
Verify if the presentation was shared with user consent and signatures
the managed presentation to verify
the original Dynamic Scope Request that receive the presentation as result
Generated using TypeDoc
Abstract all complexity about the Verifiable Credentials handling by providing utility methods to access user verified data in a secure way unless the security behavior is explicit flexed.
By Default the only check not performed is the blockchain anchor check that must be explicit enable by providing a verification plugin that can handle the verification in a async way.