@mega-yfue/eufy-sdk / FileSessionStore
Class: FileSessionStore
JSON-file store, e.g. new FileSessionStore("./.eufy-session.json").
Implements
Constructors
Constructor
ts
new FileSessionStore(path): FileSessionStore;Parameters
path
string
Returns
FileSessionStore
Methods
clear()
ts
clear(): void;Returns
void
Implementation of
load()
ts
load(): PersistedSession | null;Returns
PersistedSession | null
Implementation of
save()
ts
save(s): void;Parameters
s
PersistedSession
Returns
void