homebridge-econet-rheem
Version:
Homebridge plugin based on pyeconet for control of Rheem water heaters
12 lines (11 loc) • 366 B
TypeScript
import { TokenData } from './types.js';
export declare class Auth {
private readonly data;
constructor(data: TokenData);
get token(): string;
get userId(): string;
get accountId(): string;
private static digest;
save(filePath: string, encryptionKey: string): void;
static load(filePath: string, encryptionKey: string): Auth | null;
}