Skip to main content

@hyperledger/identus-sdk / Exports / RequestPresentation

Class: RequestPresentation

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new RequestPresentation(body, attachments, from, to, thid?, id?): RequestPresentation

Parameters

NameType
bodyRequestPresentationBody
attachmentsAttachmentDescriptor[]
fromDID
toDID
thid?string
idstring

Returns

RequestPresentation

Defined in

src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:24

Properties

attachments

attachments: AttachmentDescriptor[]

Defined in

src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:26


body

body: RequestPresentationBody

Defined in

src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:25


from

from: DID

Defined in

src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:27


id

id: string

Defined in

src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:30


thid

Optional thid: string

Defined in

src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:29


to

to: DID

Defined in

src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:28


type

Static type: ProtocolType = ProtocolType.DidcommRequestPresentation

Defined in

src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:22

Accessors

decodedAttachments

get decodedAttachments(): any[]

Returns

any[]

Defined in

src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:35

Methods

makeMessage

makeMessage(): Message

Returns

Message

Defined in

src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:53


validate

validate(): void

Returns

void

Defined in

src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:39


fromMessage

fromMessage(fromMessage): RequestPresentation

Parameters

NameType
fromMessageMessage

Returns

RequestPresentation

Defined in

src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:66