@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
Name | Type |
---|---|
body | RequestPresentationBody |
attachments | AttachmentDescriptor [] |
from | DID |
to | DID |
thid? | string |
id | string |
Returns
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
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
Name | Type |
---|---|
fromMessage | Message |
Returns
Defined in
src/edge-agent/protocols/proofPresentation/RequestPresentation.ts:66