Skip to content

@mega-yfue/eufy-sdk / MemorySessionStore

Class: MemorySessionStore<T> ​

In-memory store (no persistence) — the default.

Type Parameters ​

T ​

T = PersistedSession

Implements ​

Constructors ​

Constructor ​

ts
new MemorySessionStore<T>(): MemorySessionStore<T>;

Returns ​

MemorySessionStore<T>

Methods ​

clear() ​

ts
clear(): void;

Returns ​

void

Implementation of ​

SessionStore.clear


load() ​

ts
load(): T | null;

Returns ​

T | null

Implementation of ​

SessionStore.load


save() ​

ts
save(s): void;

Parameters ​

s ​

T

Returns ​

void

Implementation of ​

SessionStore.save

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.