File

src/verifier/oid4vp/dto/authorization-request.dto.ts

Description

DTO including wallet metadata according to https://openid.net/specs/openid-4-verifiable-presentations-1_0.html#name-request-uri-method-post

Index

Properties

Properties

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

JSON encoded wallet metadata

Optional wallet_nonce
Type : string
Decorators :
@IsString()
@IsOptional()
import { IsOptional, IsString } from "class-validator";

/**
 * DTO including wallet metadata according to https://openid.net/specs/openid-4-verifiable-presentations-1_0.html#name-request-uri-method-post
 */
export class AuthorizationResponse {
    /**
     * JSON encoded wallet metadata
     */
    @IsString()
    @IsOptional()
    wallet_metadata?: string;

    @IsString()
    @IsOptional()
    wallet_nonce?: string;
}

results matching ""

    No results matching ""