This reference documents the configuration options for the verifier service.
This section documents the complete configuration provided by Vidos.
The complete JSON Schema for the verifier configuration is available:
For CORS configuration options see the CORS Configuration Reference.
Controls which resolver service to use for DID (Decentralized Identifier) resolution and other resource lookups. See Service Instance configuration
Example managed resolver configuration:
Example custom resolver instance configuration:
The verifier uses the resolver service to:
The policies section consists of independent verification policies that can be configured separately. Each policy controls a specific aspect of credential verification and can be integrated with the Authorizer service for comprehensive verification flows. Policies can be:
skip: true/false
The verifier supports the following independent policies:
credentialSchema
: Schema validation against the credential typecredentialStatus
: Status checks (revocation/suspension)format
: Format and version validationnotAfter
: Expiration validationnotBefore
: Not-yet-valid validationproof
: Cryptographic proof verificationExample of policy mix-and-match:
Each policy section below details its specific configuration options.
Controls schema validation for credentials.
object
skip
: boolean
validation
:
onInvalid
: "error" | "warning" | "valid"
onSchemaError
: "error" | "warning" | "valid"
onUnsupported
: "error" | "warning" | "valid"
Example credential with schema:
Example configuration:
Controls credential status validation.
object
skip
: boolean
onMissing
: "valid" | "error"
onUnsupported
: "error" | "warning"
statusTypes
: Configuration for different status list typesExample configuration:
Action | Description | Use Case |
---|---|---|
onRevocation | What happens when a credential is revoked | Check revocation status |
onSuspension | What happens when a credential is suspended | Check suspension status |
onMissingStatus | Action when status information is missing | Handle incomplete status |
Controls credential format validation.
object
standards
: Supported credential format standards
w3c
: W3C Verifiable Credentials Data Modeliso
: ISO standard formatsExample configuration:
Controls temporal validation of credentials.
object
skip
: boolean
credentials
:
verifiableCredential
:
enabled
: boolean
onOutOfRange
: "error" | "warning"
onMissingDate
: "error" | "warning"
tolerance
: Time tolerance in millisecondsverifiablePresentation
: Same structure as verifiableCredentialExample configuration:
Option | Description | Use Case |
---|---|---|
onOutOfRange | Action when current time is outside valid range | Enforce time validity |
onMissingDate | Action when required dates are missing | Handle incomplete credentials |
tolerance | Time buffer in milliseconds | Allow for clock skew |
Controls validation of cryptographic proofs.
object
skip
: boolean
formats
: Supported proof formats
jwt
: JWT proof format configurationw3c
: W3C proof format configurationExample JWT configuration:
Example W3C configuration:
Supports JWT/JWS-based proofs with configurable proof purposes.
Supports Data Integrity proofs with multiple cryptosuites:
Suite | Description | Best For |
---|---|---|
bbs-2023 | BBS+ signatures with selective disclosure | Privacy-preserving credentials |
ecdsa-jcs-2019 | ECDSA with JSON canonicalization | Cross-platform compatibility |
ecdsa-rdfc-2019 | ECDSA with RDF canonicalization | Semantic web applications |
ecdsa-sd-2023 | ECDSA with selective disclosure | Privacy-preserving presentations |
eddsa-2022 | EdDSA base suite | High performance verification |
The verifier supports three validation outcomes:
error
: Stops processingwarning
: Continues processingvalid
: Successful validationCommon scenarios:
Scenario | Default Action | Configuration Option |
---|---|---|
Credential fails schema validation | Error | credentialSchema.validation.onInvalid |
Schema load error | Warning | credentialSchema.validation.onSchemaError |
Unsupported schema validation type | Warning | credentialSchema.validation.onUnsupported |
Missing status | Valid | credentialStatus.onMissing |
Expired credential | Error | notAfter.credentials.verifiableCredential.onOutOfRange |
Missing dates | Warning | notAfter.credentials.verifiableCredential.onMissingDate |
Revoked credential | Error | credentialStatus.statusTypes.bitstringStatusList.statusChecks.revocation.onRevocation |