@esri/arcgis-rest-developer-credentials

Access and manage API keys and OAuth 2.0 application credentials with REST JS.

Install

Use dark colors for code blocksCopy
1
npm install @esri/arcgis-rest-developer-credentials

Import

@esri/arcgis-rest-developer-credentials is distributed as both ES Modules and Common JS modules.

Use dark colors for code blocksCopy
1
import * as developerCredentialsTools from "@esri/arcgis-rest-developer-credentials"
Use dark colors for code blocksCopy
1
const developerCredentialsTools = require("@esri/arcgis-rest-developer-credentials");

CDN

You can use @esri/arcgis-rest-developer-credentials as an ES Module from the esm.run CDN.

Use dark colors for code blocksCopy
1
2
3
<script type="module">
  import * as developerCredentialsTools from "https://esm.run/@esri/arcgis-rest-developer-credentials@1.1.0";
</script>

You can also use @esri/arcgis-rest-developer-credentials from a script tag. All exports will be added to a global arcgisRest object.

Use dark colors for code blocksCopy
1
2
3
4
<script
  src="https://unpkg.com/@esri/arcgis-rest-developer-credentials@1.1.0/dist/bundled/developer-credentials.umd.min.js"
  integrity="sha512-CCxeOjzlO3kM+GH7ACRK3FAZoIufB5q/PnvYQySAyY7PLBsmD6ZQv2hDl3Bp/nrvT2c+d7iM2daLK8HD2aTYGg==">
</script>

Exports

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.