iot-central-aad-app/README.md

25 строки
1.1 KiB
Markdown
Исходник Обычный вид История

2021-01-28 07:57:12 +03:00
# An interactive code walk-through on how to authenticate and authorize to use the Azure IoT Central REST APIs
This is a small codebase built from create-react-app and uses MSAL.js. The code demonstrates the call patterns required to Auth'N/Auth'Z against MS Graph, IoT Central, Azure Resource Management (ARM) and working examples of their respective APIs. This should provide you with enough base code to start your own application.
2021-01-29 21:53:04 +03:00
The code demonstrates two call patterns. One pattern is used for IoT Central data plane APIs and single sign-on. The other is used for IoT Central control plane APIs.
2021-01-29 21:55:08 +03:00
Data plane APIs are REST APIs to interact with a specific IoT Central application. Click [here](https://docs.microsoft.com/en-us/rest/api/iotcentral/) to see the list of available APIs. Single sign-on enables deep-linking from your application into an IoT Central application.
2021-01-29 21:53:04 +03:00
Control plane APIs are used to manage resources in you Azure subscription. Use these APIs to create, delete or find and IoT Central application.
## Install
```
2021-01-27 23:59:34 +03:00
npm i
```
## Run
```
npm start
````
## Usage
```
2021-03-30 19:35:54 +03:00
http://localhost:4001
````