Interface
Options for ArcGISIdentityManager.fromToken.
Properties
| Property | Type | Notes |
|---|---|---|
clientId | string | Optional client ID. Used for refreshing expired tokens. |
portal | string | The portal that the token was generated from. Defaults to |
redirectUri | string | Optional set a valid redirect URL for the registered client ID. Used internally to refresh expired tokens. |
server | string | If the token is for a specific instance of ArcGIS Server, set |
token | string | The token you want to create the |
tokenExpires | Date | Date when this token will expire. |
username | string | Optionally set the username. Recommended if available. |
clientId
clientId: stringOptional client ID. Used for refreshing expired tokens.
portal
portal: stringThe portal that the token was generated from. Defaults to https://www.arcgis.com/sharing/rest. Required if you are not using the default portal.
redirectUri
redirectUri: stringOptional set a valid redirect URL for the registered client ID. Used internally to refresh expired tokens.
server
server: stringIf 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.
token
Interface Propertytoken: stringThe token you want to create the ArcGISIdentityManager instance with.