@hyperledger/identus-edge-agent-sdk / Exports / RequestPresentation
Class: RequestPresentation
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new RequestPresentation(body
, attachments
, from
, to
, thid?
, id?
): RequestPresentation
Parameters
Name | Type |
---|---|
body | RequestPresentationBody |
attachments | AttachmentDescriptor [] |
from | DID |
to | DID |
thid? | string |
id | string |
Returns
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
Defined in
src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:34
fromMessage
▸ fromMessage(fromMessage
): RequestPresentation
Parameters
Name | Type |
---|---|
fromMessage | Message |
Returns
Defined in
src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:47
makeRequestFromProposal
▸ makeRequestFromProposal(message
): RequestPresentation
Parameters
Name | Type |
---|---|
message | Message |
Returns
Defined in
src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:67