Credential

new Cesium.Credential(value, name)

SuperMap map service security verification class. SuperMap security certificate category, which includes security verification information such as token. You need to use the user name and password to apply for value under "http://localhost:8090/iserver/services/security/tokens". Obtain a value like: "2OMwGmcNlrP2ixqv1Mk4BuQMybOGfLOrljruX6VcYMDQKc58Sl9nMHsqQaqeBx44jRvKSjkmpZKK1L596y7skQ..". Currently supported functions include: SuperMapImageryProvider, CesiumTerrainProvider, S3MTilesLayer, and polling functions are not supported.
Name Type Description
value String The verification information used to pass the security authentication when accessing a security-restricted service.
name String Verification information prefix, the name part of the name=value part, the default is "token".

Members

name : value

Get or set the current verification information prefix.

value : value

Get or set the current safety certification information.