Skip to main content

@triveria/wallet / Exports / VerifyInitRequest

Interface: VerifyInitRequest

Registers a new verification request. When createUrl is true, URL used by holder to present credentials to a verifier is created. Otherwise, the holder can use the verifier authorization endpoint with a custom scope to request credentials. In this case holderEntityId must be provided.

Table of contents​

Properties​

Properties​

createUrl​

• Optional createUrl: boolean

When true, a verification request URL is created. When false, verification request is registered for a specific holder, that can then start the interaction by making an authorization request with custom scope. Defaults to true.

Defined in​

api.ts:2229


customQueries​

• Optional customQueries: VerifyQueryFragment[]

List of custom presentation definition/DCQL query fragments to be applied to the presentation definition/DCQL query in the verifier's configuration

Defined in​

api.ts:2241


holderEntityId​

• Optional holderEntityId: string

Used when createUrl is set to false. Entity ID of the holder that will verify by making an Authorization request with custom scope.

Defined in​

api.ts:2233


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 to pass to WalletVerifiedCredentialsByState. Overrides the verifier's redirectUri. Used only when createUrl is true.

Defined in​

api.ts:2249


transactionData​

• Optional transactionData: TransactionData[]

Transaction data the holder authorizes with the presentation (OpenID4VP 1.0 §5.1). Requires a verifier with a DCQL query; each entry's credential_ids must reference its credential query ids.

Defined in​

api.ts:2245


verifierId​

• verifierId: string

Defined in​

api.ts:2225


wmpEntityId​

• Optional wmpEntityId: string

ID of an WMP entity with which a WMP connection has already been established. If provided, WMP is used to send the credential offer to the specified recipient.

Defined in​

api.ts:2237