Version 3.1.1

@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.1.1/dist/umd/auth.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-auth@3.1.1/dist/umd/auth.umd.min.js" integrity="sha384-TbSVbb8egt41BsAveukug9WAKcSB5thHYnvDuOKr4LGheYFW/j4PmlQX1VsiwiAv" crossorigin="anonymous"></script>