Class: ServerInfo

SuperMap.ServerInfo

Information of the server(Security related). Include the server type, the service address, the token service address, etc.

new SuperMap.ServerInfo(type, options, the)

ServerInfo.js, line 5
Name Type Description
type string

Type of the server.

options Object

The optional parameters of the server information.

the string

service address,For example: http://supermapiserver:8090/iserver

options.tokenServiceUrl string optional

For example:http://supermapiserver:8090/iserver/services/security/tokens.json

options.keyServiceUrl string optional

For example:http://supermapiserver:8092/web/mycontent/keys/register.json

Members

keyServiceUrlstring

For example:http://supermapiserver:8092/web/mycontent/keys/register.json.

serverstring

Required, the service address.

tokenServiceUrlstring

For example:http://supermapiserver:8090/iserver/services/security/tokens.json.

Type of the server.