4.1.3 • Published 1 month ago

ux4iot-admin-node v4.1.3

Weekly downloads
-
License
-
Repository
github
Last release
1 month ago

ux4iot-admin-node

ux4iot-admin-node provides a Node.js admin client for ux4iot. Use this library to easily access grant requests to the ux4iot service.

Prerequisites

In order to use this library you need to have an ux4iot instance deployed in your Azure subscription. Here is a link to a quickstart that explains how to deploy one. Here is the link to the Azure Marketplace offering.

Installation

npm install ux4iot-admin-node

Usage

import Ux4iotAdminSDK from 'ux4iot-admin-node';

const sdk = new Ux4iotAdminSDK({ connectionString: 'YOUR_UX4IOT_CONNECTION_STRING' });

const grantRequest = {
    deviceId: 'mydevice',
    sessionId: 'valid-session-id',
    type: 'telemetry',
    telemetryKey: 'mytelemetry'
}

await sdk.grant(grantRequest);

Documentation

Check out the Documentation for

  • API documentation on grant requests with ux4iot
  • Why you would need to use this library when using ux4iot
  • How to write a security backend for ux4iot
4.1.3

1 month ago

4.1.0

6 months ago

4.0.0

7 months ago

4.1.2

5 months ago

4.1.1

6 months ago

3.2.0

11 months ago

3.1.1

1 year ago

3.1.0

1 year ago

3.0.1

1 year ago

3.0.0

2 years ago

0.4.3

2 years ago

0.4.1

2 years ago

0.4.2

2 years ago

0.3.0

2 years ago

0.4.0

2 years ago

0.2.0

3 years ago

0.1.0

3 years ago