@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.0.1";
</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.0.1/dist/bundled/developer-credentials.umd.min.js"
  integrity="sha512-we5GqZN+KVcIHcfvZJC3+pauQ9puuQFRvOJIoIwg1g3KUTdIGXRWh2nslAaf1pRg7iBhV/2yQT12wMYZD8yDSA==">
</script>

Exports

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