MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / applyToken

Method applyToken

wxapp/colorful.js:172–177  ·  view source on GitHub ↗
(data = {})

Source from the content-addressed store, hash-verified

170 }
171
172 applyToken(data = {}) {
173 this.token = data.token || data.Token || "";
174 this.refreshToken = data.refreshToken || data.RefreshToken || "";
175 this.openId = data.openId || data.OpenId || "";
176 this.userInfo = data.userInfo || data.UserInfo || {};
177 }
178
179 signedHeaders(extra = {}, auth = true) {
180 const appid = "815d8026-9a52-4445-a42c-a5443134232e";

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected