TokenGenerateToken Method

PreStorm - A Data Client for ArcGIS Server REST API
Generates a token for the service url.

Namespace:  PreStorm
Assembly:  PreStorm (in PreStorm.dll) Version: 1.8.19.0 (1.8.19.0)
Syntax

public static Token GenerateToken(
	string url,
	string userName,
	string password,
	Nullable<int> expiration = null
)

Parameters

url
Type: SystemString
userName
Type: SystemString
password
Type: SystemString
expiration (Optional)
Type: SystemNullableInt32

Return Value

Type: Token
See Also

Reference