Interface IController

interface IController {
    auth: UnifiAuth;
    controllerInstance: AxiosInstance;
    sites: Sites;
    unifiOs: boolean;
    version?: string;
    createInstance(siteName?): AxiosInstance;
    getSites(): Promise<Site[]>;
    login(): Promise<IUser>;
    logout(): Promise<void>;
}

Implemented by

Properties

auth: UnifiAuth
controllerInstance: AxiosInstance
sites: Sites
unifiOs: boolean
version?: string

Methods

  • Parameters

    • Optional siteName: string

    Returns AxiosInstance

Generated using TypeDoc