MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / getKey

Method getKey

src/common/security/SecurityManager.js:122–126  ·  view source on GitHub ↗

* @description 根据 URL 获取 key。 * @function SecurityManager.getKey * @param {string} id - ID。 * @returns {string} key。

(id)

Source from the content-addressed store, hash-verified

120 * @returns {string} key。
121 */
122 static getKey(id) {
123 this.keys = this.keys || {};
124 var key = this._getUrlRestString(id) || id;
125 return this.keys[key];
126 }
127
128 /**
129 * @description SuperMap iServer 登录验证。

Callers 7

appendCredentialMethod · 0.95
getCredentialMethod · 0.95
nFunction · 0.80
ol.jsFile · 0.80
NaFunction · 0.80
qlFunction · 0.80

Calls 1

_getUrlRestStringMethod · 0.95

Tested by

no test coverage detected