MCPcopy Create free account
hub / github.com/Rfym21/Qwen2API / constructor

Method constructor

src/utils/token-manager.js:11–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9 * 负责令牌的获取、验证、刷新等操作
10 */
11class TokenManager {
12 constructor() {
13 // Legacy default; overridden per-account when fingerprint is available
14 this.defaultHeaders = {
15 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0'
16 }
17 }
18

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected