@atala/prism-wallet-sdk / Exports / ProposePresentation
Class: ProposePresentation
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ProposePresentation(body
, attachments
, from
, to
, thid?
, id?
): ProposePresentation
Parameters
Name | Type |
---|---|
body | RequestPresentationBody |
attachments | AttachmentDescriptor [] |
from | DID |
to | DID |
thid? | string |
id | string |
Returns
Defined in
src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:13
Properties
attachments
• attachments: AttachmentDescriptor
[]
Defined in
src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:15
body
• body: RequestPresentationBody
Defined in
src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:12
from
• from: DID
Defined in
src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:16
id
• id: string
Defined in
src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:19
thid
• Optional
thid: string
Defined in
src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:18
to
• to: DID
Defined in
src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:17
type
▪ Static
type: ProtocolType
= ProtocolType.DidcommProposePresentation
Defined in
src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:11
Methods
makeMessage
▸ makeMessage(): Message
Returns
Defined in
src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:29
fromMessage
▸ fromMessage(fromMessage
): ProposePresentation
Parameters
Name | Type |
---|---|
fromMessage | Message |
Returns
Defined in
src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:42
makeProposalFromRequest
▸ makeProposalFromRequest(message
): ProposePresentation
Parameters
Name | Type |
---|---|
message | Message |
Returns
Defined in
src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:73