Skip to main content

@atala/prism-wallet-sdk / Exports / Presentation

Class: Presentation

Table of contents

Constructors

Properties

Methods

Constructors

constructor

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

Parameters

NameType
bodyPresentationBody
attachmentsAttachmentDescriptor[]
fromDID
toDID
thid?string
idstring

Returns

Presentation

Defined in

src/edge-agent/protocols/proofPresentation/Presentation.ts:13

Properties

attachments

attachments: AttachmentDescriptor[]

Defined in

src/edge-agent/protocols/proofPresentation/Presentation.ts:15


body

body: PresentationBody

Defined in

src/edge-agent/protocols/proofPresentation/Presentation.ts:14


from

from: DID

Defined in

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


id

id: string

Defined in

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


thid

Optional thid: string

Defined in

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


to

to: DID

Defined in

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


type

Static type: ProtocolType = ProtocolType.DidcommPresentation

Defined in

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

Methods

makeMessage

makeMessage(): Message

Returns

Message

Defined in

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


fromMessage

fromMessage(fromMessage): Presentation

Parameters

NameType
fromMessageMessage

Returns

Presentation

Defined in

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


makePresentationFromRequest

makePresentationFromRequest(message): Presentation

Parameters

NameType
messageMessage

Returns

Presentation

Defined in

src/edge-agent/protocols/proofPresentation/Presentation.ts:63