Skip to main content

@hyperledger/identus-edge-agent-sdk / Exports / OutOfBandInvitation

Class: OutOfBandInvitation

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new OutOfBandInvitation(body, from, id?, attachments?, expiration?): OutOfBandInvitation

Parameters

NameTypeDefault value
bodyHandshakeRequestBodyundefined
fromstringundefined
idstringundefined
attachmentsAttachmentDescriptor[][]
expirationnull | numbernull

Returns

OutOfBandInvitation

Defined in

src/edge-agent/protocols/invitation/v2/OutOfBandInvitation.ts:12

Properties

attachments

attachments: AttachmentDescriptor[] = []

Defined in

src/edge-agent/protocols/invitation/v2/OutOfBandInvitation.ts:16


body

body: HandshakeRequestBody

Defined in

src/edge-agent/protocols/invitation/v2/OutOfBandInvitation.ts:13


expiration

expiration: null | number = null

Defined in

src/edge-agent/protocols/invitation/v2/OutOfBandInvitation.ts:17


from

from: string

Defined in

src/edge-agent/protocols/invitation/v2/OutOfBandInvitation.ts:14


id

id: string

Defined in

src/edge-agent/protocols/invitation/v2/OutOfBandInvitation.ts:15


type

type: ProtocolType = ProtocolType.Didcomminvitation

Defined in

src/edge-agent/protocols/invitation/v2/OutOfBandInvitation.ts:10

Accessors

isExpired

get isExpired(): boolean

Returns

boolean

Defined in

src/edge-agent/protocols/invitation/v2/OutOfBandInvitation.ts:20

Methods

parsePrismOnboardingInvitationFromJson

parsePrismOnboardingInvitationFromJson(json): PrismOnboardingInvitation

Parameters

NameType
jsonstring

Returns

PrismOnboardingInvitation

Deprecated

Defined in

src/edge-agent/protocols/invitation/v2/OutOfBandInvitation.ts:34