BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    Class BimWorksClientFactory

    Index

    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<Client | null | undefined>>

    • Create a new BimWorksClient based on the provided API Token. Please refer to generic BIM.works documentation about how to create API Tokens.

      Parameters

      • token: string

      Returns Promise<BimWorksClient<Client | null | undefined>>

    • Create a new BimWorksClient based on the provided Auth Token. Please refer to generic BIM.works documentation about how to create Auth Tokens.

      Parameters

      Returns Promise<BimWorksClient<Client | null | undefined>>

    • 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<Client | null | undefined>>