Skip to content

Credential

Defined in: src/client/credential-storage.ts:12

An identity, and the delegation that authorises it.

The two are one record because a delegation is issued to a key: held apart they can disagree, and every reader then has to decide what a chain whose key is missing means. Stored together, the half that would be dangerous — a chain with no key to sign for it — cannot be written down at all.

T extends SignIdentity = SignIdentity

optional chain?: DelegationChain

Defined in: src/client/credential-storage.ts:19

Absent only while a ceremony is in flight, under the session-pending slot: there is a key, and no delegation for it yet.


identity: T

Defined in: src/client/credential-storage.ts:13