getToken(username:string,
password:string):string
getToken(username:string, password:string, expiration:integer):string
getVersion:string
validateToken(token:string):integer
|
Method Name |
|||||||
|
Description |
Returns a token with the requested expiration. | ||||||
|
Endpoint URL |
https://arcweb.esri.com/services/v2/Authentication | ||||||
|
Input Parameters |
| ||||||
|
Valid Arguments |
| ||||||
|
Output Parameter |
| ||||||
|
Example (Java) |
IAuthentication myAuthentication = AuthenticationHelper.bind(); | ||||||
|
Example (VB.NET) |
Dim myAuthentication As New Authentication() | ||||||
|
Example (C#.NET) |
Authentication myAuthentication = new Authentication(); |
| Method Name | getVersion | ||
| Description | Returns the version number of Authentication Web Service. | ||
| Endpoint URL | https://arcweb.esri.com/services/v2/Authentication | ||
| Output Parameter |
| ||
|
Example (Java) |
IAuthentication myAuthentication = AuthenticationHelper.bind(); | ||
|
Example (VB.NET) |
Dim myAuthenticaion As New Authentication() | ||
|
Example (C#.NET) |
Authentication myAuthentication = new Authentication(); |
|
Method Name |
|||
|
Description |
Validates a token and returns the number of minutes left. | ||
|
Endpoint URL |
https://arcweb.esri.com/services/v2/Authentication | ||
|
Input Parameter |
| ||
|
Valid Arguments |
| ||
|
Output Parameter |
| ||
|
Example (Java) |
IAuthentication myAuthentication = AuthenticationHelper.bind(); | ||
|
Example (VB.NET) |
Dim myAuthenticaion As New Authentication() | ||
|
Example (C#.NET) |
Authentication myAuthentication = new Authentication(); |