Credential

new SuperMap3D.Credential(value, name)

SuperMap map service security verification class. The security certificate class of SuperMap, including security verification information such as token. You need to use the username and password to apply for value under: "http://localhost:8090/iserver/services/security/tokens". Get the value in the form of "2OMwGmcNlrP2ixqv1Mk4BuQMybOGfLOrljruX6VcYMDQKc58Sl9nMHsqQaqeBx44jRvKSjkmpZKK1L596y7skQ..". Currently supported functions include: SuperMapImageryProvider, SuperMapTerrainProvider, S3MTilesLayer, polling is not supported.
Name Type Description
value String Verification information used to pass security authentication when accessing security-restricted services.
name String Authentication information prefix, the name part of the name=value part, the default is "token".

Members

name : value

Get or set the current authentication information prefix.

value : value

Get or set the current security authentication information.