Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Generate ArcGIS Token Activity

Prev Top Next More

Description

The Generate ArcGIS Token activity generates an access token for secured ArcGIS Server services.

Usage

A workflow in a client application could use the Run Workflow activity to run a server workflow. The server workflow could use the Generate ArcGIS Token activity to generate an access token followed by a Set Workflow Output activity to return the token to the client application. Finally, the client application could use the Send Web Request activity and incorporate the token in its Query input in order to send a request to a secure ArcGIS REST endpoint. This can be used for running a geocode request, obtaining coded value domains, or adding/editing features, for example.

Inputs

Generate Token Url

Required

Type: String

The URL of the ArcGIS generate token service.

The URL should use HTTPS.

For example, https://server/arcgis/tokens/generateToken.

User Name

Required

Type: String

The user name of the user to generate the token for.

Password

Required

Type: String

The password of the user to generate the token for.

IP Address

Optional

Type: String

The IP address of the machine that will use the access token.

For example, 120.0.0.1.

If both the Referrer and IP Address inputs are specified only the Referrer will be used.

Referrer

Optional

Type: String

The base URL of the web application that will use the access token.

For example, https://myserver/mywebapp.

If both the Referrer and IP Address inputs are specified only the Referrer will be used.

Expiration

Optional

Type: Number

The token expiration time in minutes.

The default is 60 minutes.

The maximum value of the expiration time is controlled by the server.

Timeout

Optional

Type: Number

The time span in milliseconds to wait for the request's results.

Outputs

token

Type: String

The generated access token.

expires

Type: String

The expiration time of the token in milliseconds since January 1st, 1970.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity does not work when the device has intermittent connectivity to the network.

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (58a5caf5)