The URL of your BIM.works instance, for example https://bim.works
Optional
options: BimWorksClientFactorySettingsOptional factory settings, will use default settings when not provided
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.
Create a new BimWorksClient based on the provided API Token. Please refer to generic BIM.works documentation about how to create API Tokens.
Create a new BimWorksClient based on the provided Auth Token. Please refer to generic BIM.works documentation about how to create Auth Tokens.
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.
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.