homebridge-config-ui-x
Version:
A web based management, configuration and control platform for Homebridge
38 lines (37 loc) • 1.21 kB
TypeScript
import { AuthService } from './auth.service';
import { AuthDto } from './auth.dto';
import { ConfigService } from '../config/config.service';
export declare class AuthController {
private readonly authService;
private readonly configService;
constructor(authService: AuthService, configService: ConfigService);
signIn(body: AuthDto): Promise<any>;
getSettings(): {
env: {
ableToConfigureSelf: {
includePrerelease: boolean;
};
enableAccessories: boolean;
enableTerminalAccess: boolean;
homebridgeInstanceName: string;
nodeVersion: string;
packageName: any;
packageVersion: any;
runningInDocker: boolean;
runningInLinux: boolean;
dockerOfflineUpdate: any;
temperatureUnits: string;
websocketCompatibilityMode: boolean;
branding: string | boolean;
instanceId: string;
};
formAuth: boolean;
theme: string;
serverTimestamp: string;
};
getToken(): Promise<{
access_token: string;
token_type: string;
expires_in: number;
}>;
}