Appearance
@mega-yfue/eufy-sdk / isSessionValid
function isSessionValid(s, skewSec?): boolean;
A persisted session is usable if it has a token that isn't (near-)expired.
PersistedSession | null
PersistedSession
null
number = 300
number
300
boolean