require(["esri/ServerInfo"], function(ServerInfo) { /* code goes here */ });
Description
(Added at v2.5)
This class contains information about an ArcGIS Server and its token endpoint.
Samples
Search for
samples that use this class.
Properties
Methods
Property Details
The token service URL used to generate tokens for ArcGIS Server Admin resources. (Added at v3.0)
Version of the ArcGIS Server REST API deployed on this server. For example 10.0, 10.1
(Added at v3.0)
The server URL. Use the following format:
scheme://host[:port]
Validity of short-lived token in minutes. (Added at v3.0)
The token service URL used to generate tokens for the secured resources on the server.
Method Details
Return the properties of this object in JSON. (Added at v2.8)