By calling the login method we provide, you can quickly get the token, which currently supports WeChat and telegram 2 methods
//
const { auth, interfaces } = new UXLINK();
// connectTo to wechat
await auth.connectTo(interfaces.LoginAuthType.wx, AppID, redirectUri, state);
// getUrlCode("code");
const uxlinkToken = await auth.toWX(code);
const { account } = new UXLINK.init(uxlinkToken,apikey)