An interactive code walk-through on how to authenticate and authorize to use the Azure IoT Central REST APIs
Перейти к файлу
dependabot[bot] 82c7bf833d
Bump @babel/traverse from 7.18.9 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.18.9 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 06:23:23 +00:00
public Initial version 2021-01-27 12:58:20 -08:00
src Port update 2021-03-30 09:35:54 -07:00
.gitignore Initial version 2021-01-27 12:58:20 -08:00
LICENSE Create LICENSE 2023-07-20 10:37:34 -07:00
README.md Merge branch 'master' of https://github.com/iot-for-all/iotc-aad-app into master 2021-03-30 09:36:24 -07:00
SECURITY.md Microsoft mandatory file 2023-01-24 15:55:22 +00:00
package-lock.json Bump @babel/traverse from 7.18.9 to 7.23.2 2023-10-18 06:23:23 +00:00
package.json move react-scripts to dev deps 2022-07-18 18:19:40 -07:00

README.md

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.

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.

Data plane APIs are REST APIs to interact with a specific IoT Central application. Click here to see the list of available APIs. Single sign-on enables deep-linking from your application into an IoT Central application.

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

npm i

Run

npm start

Usage

http://localhost:4001