37 | Options (JSON object) |
38 |
39 |
40 |
41 | Name |
42 | Type |
43 | Required? |
44 | Description |
45 |
46 |
47 | client |
48 | String |
49 | No |
50 | The client type that will be granted access to the token. Only the referer value is supported. In the Generate Token page, the referer is specified in the Webapp URL field, for example: referer=http://myserver/mywebapp |
51 |
52 |
53 | referer |
54 | String |
55 | No |
56 | Default value: arcgis.com | The base URL of the client application that will use the token to access the Portal for ArcGIS API. In the Generate Token page, the referer is specified in the Webapp URL field, for example: referer=http://myserver/mywebapp. |
57 |
58 |
59 | expiration |
60 | Integer |
61 | No |
62 | The token expiration time in minutes. The default and maximum is 15 days. |
63 |
64 |
65 | |
66 |
67 |