homebridge-config-ui-x
Version:
A web based management, configuration and control platform for Homebridge.
25 lines (24 loc) • 918 B
TypeScript
import { PluginsService } from '../../modules/plugins/plugins.service.js';
import { ConfigService } from '../config/config.service.js';
import { Logger } from '../logger/logger.service.js';
import { AuthDto } from './auth.dto.js';
import { AuthService } from './auth.service.js';
export declare class AuthController {
private readonly authService;
private readonly configService;
private readonly pluginsService;
private readonly logger;
constructor(authService: AuthService, configService: ConfigService, pluginsService: PluginsService, logger: Logger);
signIn(body: AuthDto): Promise<any>;
getSettings(req: any): any;
getCustomWallpaper(): import("node:fs").ReadStream;
getToken(): Promise<{
access_token: string;
token_type: string;
expires_in: number;
}>;
checkAuth(): {
status: string;
};
refreshToken(req: any): Promise<any>;
}