UNPKG

homebridge-config-ui-x

Version:

A web based management, configuration and control platform for Homebridge.

27 lines (26 loc) 1.15 kB
import type { FastifyReply, FastifyRequest } from 'fastify'; import { PluginsService } from '../../modules/plugins/plugins.service.js'; import { ConfigService } from '../config/config.service.js'; import { Logger } from '../logger/logger.service.js'; import { AuthDto, RefreshTokenDto } 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, req: FastifyRequest, res: FastifyReply): Promise<any>; getSettings(req: any): any; getCustomWallpaper(): import("node:fs").ReadStream; getToken(req: FastifyRequest, res: FastifyReply): Promise<{ access_token: string; token_type: string; expires_in: number; }>; checkAuth(): { status: string; }; refreshToken(req: any, body: RefreshTokenDto, res: FastifyReply): Promise<any>; private buildSessionCookie; }