@dxos/halo-react
    Preparing search index...

    Function useIdentity

    • Returns the local identity, or undefined if none exists. Reactive: re-renders when the identity is created or its profile changes. Replaces @dxos/react-client's useIdentity.

      Returns
          | undefined
          | {
              data?: { readonly [key: string]: any };
              did: IdentityDid;
              displayName?: string;
              identityKey?: string;
          }

      • undefined
      • {
            data?: { readonly [key: string]: any };
            did: IdentityDid;
            displayName?: string;
            identityKey?: string;
        }
        • Optional Readonlydata?: { readonly [key: string]: any }

          Arbitrary profile metadata.

        • Readonlydid: IdentityDid
        • Optional ReadonlydisplayName?: string
        • Optional ReadonlyidentityKey?: string

          Hex-encoded identity (credential) key, when known.