Skip to content

PeerIdentity

Defined in: src/identity.ts:317

Immutable verified or observed transport-peer evidence.

new PeerIdentity(options): PeerIdentity;

Defined in: src/identity.ts:347

Parameter Type
options PeerIdentityOptions

PeerIdentity

readonly assurance: IdentityAssurance;

Defined in: src/identity.ts:323

Mechanism that established the identity.


readonly attributes: Readonly<Record<string, JsonValue>>;

Defined in: src/identity.ts:337

Immutable additional facts about the peer.


readonly capabilities: Readonly<Record<string, JsonValue>>;

Defined in: src/identity.ts:339

Immutable permissions or features reported for the peer.


readonly capabilitiesVerified: boolean;

Defined in: src/identity.ts:341

Whether the provider verified the reported capabilities.


readonly evidenceSource: string;

Defined in: src/identity.ts:321

Concrete source from which the evidence was obtained.


readonly issuer: string;

Defined in: src/identity.ts:325

Namespace that issued the subject key.


readonly provider: string;

Defined in: src/identity.ts:319

Provider that produced the evidence.


readonly optional proxyAddress?: string;

Defined in: src/identity.ts:345

Address of the trusted proxy that supplied the evidence.


readonly optional sourceAddress?: string;

Defined in: src/identity.ts:343

Original source address observed for the peer.


readonly optional subjectKey?: string;

Defined in: src/identity.ts:331

Provider-specific subject identifier, when available.


readonly subjectKind: PeerSubjectKind;

Defined in: src/identity.ts:329

Category of the identified subject.


readonly subjectStability: SubjectStability;

Defined in: src/identity.ts:333

Lifetime over which the subject key remains stable.


readonly subjectVerified: boolean;

Defined in: src/identity.ts:335

Whether the provider verified the subject key.


readonly transport: string;

Defined in: src/identity.ts:327

Transport on which the peer was observed.

get canonicalPrincipal(): string;

Defined in: src/identity.ts:390

Canonical VGI principal derived from the provider, issuer, and subject.

string