- URL:https://<notebookserveradmin>/generateToken
- Version Introduced:10.7
Description
This operation generates an ArcGIS token that can be used by clients when working with the ArcGIS Notebook Server Administrator API.
Request parameters
Parameter | Details |
---|---|
f | Description: The response format. The default response format is HTML. |
username | Description: username of user who wants to get a token. |
password | Description: password of user who wants to get a token. |
client | Description: The client identification type for which the token is to be generated.
|
referer | Description: The base URL of the web app that will invoke the request to access secured resource. This parameter must be specified if the value of the client parameter is referer. Example: referer=https://myserver/mywebapp |
ip | Description: The IP address of the machine that will invoke the request to access secured resource. This parameter must be specified if the value of the client parameter is ip. Example: ip=###.###.###.### |
expiration | Description: The token expiration time in minutes. The default is 60 minutes. Example: expiration=60 (1 hour) The maximum value of the expiration time is controlled by the server. Requests for tokens larger than this time will return a token for the maximum allowed expiration time. Applications are responsible for renewing expired tokens; expired tokens will be rejected by the server on subsequent requests that use the token. |