You are here: Using SOAP > v2006 services > Authentication > Authentication v2006 methods

Authentication Web Service v2006 methods

getCustomExpirationToken(username:string, password:string, expiration:integer):string

getToken(username:string, password:string):string

getVersion:string

validateToken(token:string):integer

getCustomExpirationToken

Returns an authentication token with a user-defined expiration.

Endpoint URL

https://www.arcwebservices.com/services/v2006/Authentication

Input

Name

Type

Valid values

username

string

An ArcWeb Services account user name. Case sensitive.

password

string

An ArcWeb Services account password. Case sensitive.

expiration

integer

Minutes to expiration. Note: Maximum value is 1440.

Output

encrypted token string containing username, password, timeout period, and requester's IP

Code examples

C#.NET

ColdFusion

Java

VB.NET

getToken

Returns an authentication token with an expiration of 60 minutes.

Endpoint URL

https://www.arcwebservices.com/services/v2006/Authentication

Input

Name

Type

Valid values

username

string

An ArcWeb Services account user name. Case sensitive.

password

string

An ArcWeb Services account password. Case sensitive.

Output

encrypted token string containing username, password, timeout period, and requester's IP

Code examples

C#.NET

ColdFusion

Java

VB.NET

getVersion

Returns the version number of Authentication Web Service.

Endpoint URL

https://www.arcwebservices.com/services/v2006/Authentication

Output

string

Code examples

C#.NET

ColdFusion

Java

VB.NET

validateToken

Validates an authentication token by returning the number of minutes left.

Endpoint URL

https://www.arcwebservices.com/services/v2006/Authentication

Input

Name

Type

Valid values

token

string

Authentication token

Output

An integer containing the minutes left to expiration (>0).

Code examples

C#.NET

ColdFusion

Java

VB.NET


Visit the Feedback page to give comments or suggestions about the ArcWeb Developer's Guide.

ArcWeb site | ArcWeb support | support.esri.com

Copyright © ESRI