File

src/verifier/oid4vp/dto/presentation-request-options.dto.ts

Description

PresentationRequestOptions DTO

Index

Properties

Properties

redirectUri
redirectUri: string
Type : string
Optional

Optional redirect URI to which the user-agent should be redirected after the presentation is completed.

session
session: string
Type : string
Optional

Optional session identifier for tracking the request.

transaction_data
transaction_data: TransactionData[]
Type : TransactionData[]
Optional

Optional transaction data to include in the OID4VP request. If provided, this will override the transaction_data from the presentation configuration.

webhook
webhook: WebhookConfig
Type : WebhookConfig
Optional

Optional webhook configuration to receive the response.

import { WebhookConfig } from "../../../shared/utils/webhook/webhook.dto";
import { TransactionData } from "../../presentations/entities/presentation-config.entity";

/**
 * PresentationRequestOptions DTO
 */
export interface PresentationRequestOptions {
    /**
     * Optional session identifier for tracking the request.
     */
    session?: string;
    /**
     * Optional webhook configuration to receive the response.
     */
    webhook?: WebhookConfig;

    /**
     * Optional redirect URI to which the user-agent should be redirected after the presentation is completed.
     */
    redirectUri?: string;

    /**
     * Optional transaction data to include in the OID4VP request.
     * If provided, this will override the transaction_data from the presentation configuration.
     */
    transaction_data?: TransactionData[];
}

results matching ""

    No results matching ""