Skip to content

@mega-yfue/eufy-sdk / SolixLoginResult

Type Alias: SolixLoginResult ​

ts
type SolixLoginResult = 
  | {
  session: SolixSession;
  status: "ok";
}
  | {
  method: string;
  status: "2fa";
};

Outcome of SolixClient.login. 2fa mirrors the eufy passport: the server sent a code and the client holds a limited token — call SolixClient.submitVerifyCode to finish.

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.