@mega-yfue/eufy-sdk / SolixSession
Interface: SolixSession
An authenticated Solix session — the token + the derived gtoken + the resolved API host.
Properties
apiHost
ts
apiHost: string;The regional API host the account resolved to (e.g. the EU shard).
authToken
ts
authToken: string;gtoken
ts
gtoken: string;md5(user_id) — sent as the gtoken header on every authenticated read.
tokenExpiresAt
ts
tokenExpiresAt: number;Unix seconds; 0 when the server did not supply one.
userId
ts
userId: string;