Namespace: SecurityManager

mapboxgl.supermap.SecurityManager

Security Manager, providing iServer, iPortal, Online unified authority authentication management.

Instructions: Before create any service call mapboxgl.supermapSecurityManager.registerToken or mapboxgl.supermapSecurityManager.registerKey to register credentials. When sending request, get the corresponding key or token based on URL or service ID and add them to the service address automatically