UNPKG

homebridge-flume

Version:

Homebridge plugin to integrate Flume devices into HomeKit.

15 lines (14 loc) 471 B
import { TokenData } from './types.js'; export declare class Auth { private readonly data; private readonly created; private _userId; constructor(data: TokenData, created?: number); get token(): string; get userId(): string | undefined; get refresh(): string; get expiry(): number; private static digest; save(filePath: string, encryptionKey: string): void; static load(filePath: string, encryptionKey: string): Auth | null; }