PeerIdentityResult
Defined in: src/identity.ts:406
Immutable outcome from one peer identity provider.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PeerIdentityResult( provider, status, identities?): PeerIdentityResult;Defined in: src/identity.ts:414
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
provider |
string |
undefined |
status |
PeerIdentityStatus |
undefined |
identities |
readonly PeerIdentity[] |
[] |
Returns
Section titled “Returns”PeerIdentityResult
Properties
Section titled “Properties”identities
Section titled “identities”readonly identities: readonly PeerIdentity[];Defined in: src/identity.ts:412
Identities produced when the status is available.
provider
Section titled “provider”readonly provider: string;Defined in: src/identity.ts:408
Provider that produced this result.
status
Section titled “status”readonly status: PeerIdentityStatus;Defined in: src/identity.ts:410
Outcome of resolving peer identity.
Methods
Section titled “Methods”available()
Section titled “available()”static available(identity): PeerIdentityResult;Defined in: src/identity.ts:430
Creates an available result containing one identity.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
identity |
PeerIdentity |
Returns
Section titled “Returns”PeerIdentityResult
