Interface
Properties
Property | Type | Notes |
---|---|---|
string | Client ID of your application. Can be obtained by registering an application on ArcGIS for Developers,ArcGIS Online or on your instance of ArcGIS Enterprise. | |
string | A Client Secret is also obtained by registering an application on ArcGIS for Developers,ArcGIS Online or on your instance of ArcGIS Enterprise. Treat it like a password. | |
number | Duration of requested tokens in minutes. defaults to 7200 (5 days). | |
Date | Expiration date for the | |
string | URL of ArcGIS REST base, defaults to "https://www.arcgis.com/sharing/rest" | |
string | OAuth 2.0 access token from a previous application session. |
clientSecret
Interface PropertyclientSecret: string
A Client Secret is also obtained by registering an application on ArcGIS for Developers,ArcGIS Online or on your instance of ArcGIS Enterprise. Treat it like a password.
duration
duration: number
Duration of requested tokens in minutes. defaults to 7200 (5 days).
portal
portal: string
URL of ArcGIS REST base, defaults to "https://www.arcgis.com/sharing/rest"
clientId: string
Client ID of your application. Can be obtained by registering an application on ArcGIS for Developers,ArcGIS Online or on your instance of ArcGIS Enterprise.