polyv-live-cli
Version:
CLI tool for managing PolyV live streaming services.
23 lines • 1.02 kB
TypeScript
import { AuthConfig } from '../types/auth';
import { AuthenticationProvider } from '../types/auth-source.types';
export declare class AuthenticationAdapter {
private authProvider;
constructor(authProvider?: AuthenticationProvider);
getAuthConfig(options?: Record<string, unknown>): AuthConfig;
tryGetAuthConfig(options?: Record<string, unknown>): {
config: AuthConfig;
source: string;
accountName?: string;
} | null;
isAuthenticationAvailable(options?: Record<string, unknown>): boolean;
getStatusMessage(options?: Record<string, unknown>): string;
getDiagnostics(options?: Record<string, unknown>): {
availableSources: import("../types/auth-source.types").AuthenticationSource[];
selectedSource?: import("../types/auth-source.types").AuthenticationSource;
errors: string[];
warnings: string[];
suggestions: string[];
};
}
export declare const authAdapter: AuthenticationAdapter;
//# sourceMappingURL=auth-adapter.d.ts.map