@tacenta/sdk
    Preparing search index...

    Class Tacenta

    One tenant's handle: build it once, sign users up and in through it.

    Index
    document: ServiceDocument

    The document the handle was built from.

    • Connect to a server: fetch its service document and prepare to reach its services over the WebSocket carriage the document names.

      Parameters

      Returns Promise<Tacenta>

    • Create a user in this tenant.

      Parameters

      • username: string
      • password: string

      Returns Promise<void>

    • Sign a user in on device with a fresh device identity.

      Parameters

      • username: string
      • password: string
      • device: number = 1

      Returns Promise<Client>

    • Sign in resuming state from Client.exportState.

      Parameters

      • username: string
      • password: string
      • state: Uint8Array
      • device: number = 1

      Returns Promise<Client>