Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To use this library in Multitenant mode, you have to add the following properties to the application properties:

Code Block

onesaitplatform:
  iotclient:
    urlRestControlpanel: http://controlpanelservice.onesait-platform:18000
    multitenant: true
    admin-api-token: 8e303d50cfd647ce97c9b18f3031d908
    deviceTemplate: MasterDevice
    #token: 902409548c704c33befefddbed0ef66f

The admin-api-token, is the application user token of a vertical administrator, that you can find at /controlpanel/apimanager/token/list:

...

Device The device token is no longer needed in this mode, as the library will take care of token management for the device.

...