File

src/verifier/presentations/dto/auth-response.dto.ts

Description

AuthResponse DTO

Index

Properties

Properties

Optional state
Type : string
Decorators :
@IsString()
@IsOptional()

The state parameter to maintain state between the request and callback.

vp_token
Type : literal type
Decorators :
@IsObject()

The VP token containing the presentation data.

import { IsObject, IsOptional, IsString } from "class-validator";

/**
 * AuthResponse DTO
 */
export class AuthResponse {
    /**
     * The VP token containing the presentation data.
     */
    @IsObject()
    vp_token: {
        /**
         * Key-value pairs representing the VP token data.
         */
        [key: string]: string;
    };
    /**
     * The state parameter to maintain state between the request and callback.
     */
    @IsString()
    @IsOptional()
    state?: string;
}

results matching ""

    No results matching ""