UNPKG

@constructorfleet/ultimate-govee

Version:

Library for interacting with Govee devices written in Typescript.

26 lines 1.01 kB
import { OnModuleDestroy } from '@nestjs/common'; import { EventBus } from '@nestjs/cqrs'; import { Credentials } from '../../common'; import { AccountAuthData, AuthState, BffAuthData } from './auth.state'; export declare class AuthService implements OnModuleDestroy { private eventBus; private readonly refreshMargin; private readonly logger; private readonly subscriptions; private readonly authState; private readonly credentials; private readonly authData; private readonly communityData; constructor(eventBus: EventBus, refreshMargin: number); private get newClientId(); private get isAuthExpired(); private get expiresAt(); private get state(); get accountAuth(): AuthState | undefined; setCredentials(credentials: Credentials): void; setAuthData(authData: AccountAuthData): void; setCommunityData(authData: BffAuthData): void; closeSubscriptions(): void; onModuleDestroy(): void; } //# sourceMappingURL=auth.service.d.ts.map