Skip to main content

@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​

Properties​

dcqlQuery​

• Optional dcqlQuery: DCQLQuery

Defined in​

api.ts:607


description​

• Optional description: string

Defined in​

api.ts:594


id​

• id: string

Unique ID of the definition

Defined in​

api.ts:598


keyIdentifier​

• Optional keyIdentifier: SigningKeyIdentifier

Defined in​

api.ts:608


name​

• name: string

Human readable name of the definition

Defined in​

api.ts:593


presentationDefinition​

• Optional presentationDefinition: PresentationDefinition

Legacy DIF Presentation Exchange query. Removed in OpenID4VP 1.0; prefer dcqlQuery.

Defined in​

api.ts:606


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​

api.ts:620


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​

api.ts:616


scope​

• Optional scope: string

A custom authorization scope that can be used for this verifier with authorization request

Defined in​

api.ts:602


toVerify​

• Optional toVerify: Set<CredentialPropertyToVerify>

List of credential properties that should be verified.

Defined in​

api.ts:612