The BimWorksClientFactory is the only way to create BimWorksClient objects. It should normally be a long-lived instance. All of the "create*" methods in this class return a Promise that will resolve to a BimWorksClient when successful. Otherwise the Promise will fail.

Hierarchy

  • BimWorksClientFactory

Constructors

Methods

  • Create an anonymous BIM.works client. The returned BimWorksClient will usually not be very usefull as anonymous users can't do much in BIM.works. This can be useful for getting information about the deployed BIM.works version for example, or to simply test connectivity.

    Returns Promise<BimWorksClient>

  • Create a new BimWorksClient based on the provided username/password. This method is not recommended, on most cases using an API Token or Auth Token is safer/more stable.

    Parameters

    • username: string
    • password: string

    Returns Promise<BimWorksClient>

Generated using TypeDoc