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