IApplicationCredentialsManagerOptions

Interface

Properties

PropertyTypeNotes
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.

duration
 optional 
number

Duration of requested tokens in minutes. defaults to 7200 (5 days).

expires
 optional 
Date

Expiration date for the token

portal
 optional 
string

URL of ArcGIS REST base, defaults to "https://www.arcgis.com/sharing/rest"

token
 optional 
string

OAuth 2.0 access token from a previous application session.

clientId

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.

clientSecret

clientSecret: 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 optional

duration: number

Duration of requested tokens in minutes. defaults to 7200 (5 days).

expires optional

expires: Date

Expiration date for the token

portal optional

portal: string

URL of ArcGIS REST base, defaults to "https://www.arcgis.com/sharing/rest"

token optional

token: string

OAuth 2.0 access token from a previous application session.

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