Abstracts the ArcGIS Server token and its generation.
Inheritance Hierarchy
PreStormToken
Namespace: PreStorm
Assembly: PreStorm (in PreStorm.dll) Version: 1.8.19.0 (1.8.19.0)
Syntax
The Token type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Token(FuncString, Token) |
Initializes a new instance of the Token class based on a delegate function for generating the token from the service url.
| |
Token(String) |
Initializes a new instance of the Token class based on an existing token string.
| |
Token(String, String) |
Initializes a new instance of the Token class based on the credentials. When the token is generated this way, it is self-renewing and will not expire.
| |
Token(String, String, String) |
Initializes a new instance of the Token class based on the credentials. When the token is generated this way, it is self-renewing and will not expire.
|
Properties
Name | Description | |
---|---|---|
MinutesRemaining |
The time remaining before this token expires.
|
Methods
Name | Description | |
---|---|---|
GenerateToken |
Generates a token for the service url.
| |
ToString |
Returns the token string.
(Overrides ObjectToString.) |
Events
Name | Description | |
---|---|---|
TokenGenerated |
Indicates that a new token has been generated.
|
See Also