interface SessionConfig {
    isAuthenticated: boolean;
    lastAuthTime?: number;
    cookies?: string[];
    controllerType?: "unifi" | "unifi-os";
    controllerVersion?: string;
}

Properties

isAuthenticated: boolean

Whether the session is currently authenticated

lastAuthTime?: number

Timestamp of last successful authentication

cookies?: string[]

Session cookies

controllerType?: "unifi" | "unifi-os"

Controller type detected during authentication

controllerVersion?: string

Controller version