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.

number

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

Date

Expiration date for the token

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.

clientId

Interface Property
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

Interface Property
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
Interface Property
duration: number

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

expires

optional
Interface Property
expires: Date

Expiration date for the token

portal

optional
Interface Property
portal: string

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

token

optional
Interface Property
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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close