Skip to content

Interface

Options for ArcGISIdentityManager.fromToken.

Properties

PropertyTypeNotes
clientIdstring

Optional client ID. Used for refreshing expired tokens.

portalstring

The portal that the token was generated from. Defaults to https://www.arcgis.com/sharing/rest. Required if you are not using the default portal.

redirectUristring

Optional set a valid redirect URL for the registered client ID. Used internally to refresh expired tokens.

serverstring

If the token is for a specific instance of ArcGIS Server, set portal to null or undefined and set server the URL of the ArcGIS Server.

tokenstring

The token you want to create the ArcGISIdentityManager instance with.

tokenExpiresDate

Date when this token will expire.

usernamestring

Optionally set the username. Recommended if available.

clientId

optional
Interface Property

portal

optional
Interface Property

redirectUri

optional
Interface Property

server

optional
Interface Property

token

Interface Property

tokenExpires

optional
Interface Property

username

optional
Interface Property

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