@dxos/halo
    Preparing search index...

    Type Alias EdgeIdentity

    The signed-in identity in the form EDGE/Hub HTTP and WebSocket clients authenticate with: a DID, the local device's peer key, and a signer for the verifiable-presentation challenge EDGE answers 401 with. Structurally the EdgeIdentity of @dxos/edge-client, declared here so consumers can call setIdentity without depending on @dxos/client.

    type EdgeIdentity = {
        identityDid: string;
        peerKey: string;
        presentCredentials: (
            options: { challenge: Uint8Array },
        ) => Promise<Presentation>;
    }
    Index

    Properties

    identityDid: string

    Identity DID (did:halo:…); EDGE keys connections by it.

    peerKey: string

    Hex-encoded key of the local device.

    presentCredentials: (
        options: { challenge: Uint8Array },
    ) => Promise<Presentation>

    Signs challenge into a presentation issued by the identity key.