Skip to main content

@atala/prism-wallet-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:14

Properties

attachments

attachments: AttachmentDescriptor[]

Defined in

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


body

body: RequestPresentationBody

Defined in

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


from

from: DID

Defined in

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


id

id: string

Defined in

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


thid

Optional thid: string

Defined in

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


to

to: DID

Defined in

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


type

Static type: ProtocolType = ProtocolType.DidcommRequestPresentation

Defined in

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

Accessors

decodedAttachments

get decodedAttachments(): any[]

Returns

any[]

Defined in

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

Methods

makeMessage

makeMessage(): Message

Returns

Message

Defined in

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


fromMessage

fromMessage(fromMessage): RequestPresentation

Parameters

NameType
fromMessageMessage

Returns

RequestPresentation

Defined in

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


makeRequestFromProposal

makeRequestFromProposal(message): RequestPresentation

Parameters

NameType
messageMessage

Returns

RequestPresentation

Defined in

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