@triveria/wallet / Exports / CredentialVerifierDefinition
Interface: CredentialVerifierDefinition
Verifier configuration. keyIdentifier is the same as wallet key identifier by default. Exactly one of dcqlQuery and presentationDefinition must be set.
Table of contents
Properties
- dcqlQuery
- description
- id
- keyIdentifier
- name
- presentationDefinition
- redirectUri
- responseEncryption
- scope
- toVerify
Properties
dcqlQuery
• Optional dcqlQuery: DCQLQuery
Defined in
description
• Optional description: string
Defined in
id
• id: string
Unique ID of the definition
Defined in
keyIdentifier
• Optional keyIdentifier: SigningKeyIdentifier
Defined in
name
• name: string
Human readable name of the definition
Defined in
presentationDefinition
• Optional presentationDefinition: PresentationDefinition
Legacy DIF Presentation Exchange query. Removed in OpenID4VP 1.0; prefer dcqlQuery.
Defined in
redirectUri
• Optional redirectUri: string
URI the holder's user agent is redirected to after presenting (OpenID4VP 1.0 §8.2), with a response_code query parameter. Overridden by redirectUri of the verification request. When neither is set, the holder is redirected to a wallet page showing the verification result.
Defined in
responseEncryption
• Optional responseEncryption: boolean
Request an encrypted vp_token response (OpenID4VP 1.0 direct_post.jwt). Disable it only for wallets that cannot encrypt responses.
Defined in
scope
• Optional scope: string
A custom authorization scope that can be used for this verifier with authorization request
Defined in
toVerify
• Optional toVerify: Set<CredentialPropertyToVerify>
List of credential properties that should be verified.