IFromTokenOptions

Interface

Options for ArcGISIdentityManager.fromToken.

Properties

PropertyTypeNotes
string

Optional client ID. Used for refreshing expired tokens.

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.

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 portal to null or undefined and set server the URL of the ArcGIS Server.

string

The token you want to create the ArcGISIdentityManager instance with.

Date

Date when this token will expire.

string

Optionally set the username. Recommended if available.

clientId

optional
Interface Property
clientId: string

Optional client ID. Used for refreshing expired tokens.

portal

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

optional
Interface Property
redirectUri: string

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

server

optional
Interface Property
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 Property
token: string

The token you want to create the ArcGISIdentityManager instance with.

tokenExpires

optional
Interface Property
tokenExpires: Date

Date when this token will expire.

username

optional
Interface Property
username: string

Optionally set the username. Recommended if available.

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