Version 3.6.0

@esri/arcgis-rest-auth

Authentication helpers for @esri/arcgis-rest-js.

npm install:

npm install @esri/arcgis-rest-auth @esri/arcgis-rest-request@^3.0.0 

Module Import:

import {
  UserSession,
  ApplicationSession
} from "@esri/arcgis-rest-auth";

CDN:

<script src="https://unpkg.com/@esri/arcgis-rest-auth@3.6.0/dist/umd/auth.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-auth@3.6.0/dist/umd/auth.umd.min.js" integrity="sha384-7Em1nFlvogyhnCNL0MnwVYCuKHbr/rlzgToUT4D2i2/4JQgHwqhLwWovhb8CtvPh" crossorigin="anonymous"></script>