* @description 根据 URL 获取 key。 * @function SecurityManager.getKey * @param {string} id - ID。 * @returns {string} key。
(id)
| 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 登录验证。 |
no test coverage detected