All API clients except AuthenticationClient
can now be initialized in a consistent way. Their constructors accept the following 3 arguments:
- auth config object including either
client_id
andclient_secret
properties (for two-legged authentication), or a singletoken
property (with an existing two-legged or three-legged access token) - optional string with Forge API host (default: https://developer.api.autodesk.com)
- optional string with Forge availability region (US or EMEA, default: US)