UNPKG

@juspay/neurolink

Version:

Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio

84 lines (83 loc) 2.35 kB
/** * Auth Command Factory for NeuroLink * * Creates the unified authentication command with subcommands for AI providers. * Subcommands: * - login, logout, status, refresh: Anthropic OAuth (API key + OAuth) * - providers, validate, health: Multi-provider auth management */ import type { CommandModule } from "yargs"; /** * Auth Command Factory * * Creates the main auth command with subcommands: * - login: Authenticate with a provider (Anthropic OAuth) * - logout: Clear stored credentials * - status: Show authentication status * - refresh: Manually refresh OAuth tokens * - providers: List available auth providers * - validate: Validate a token against a provider * - health: Check auth provider health */ export declare class AuthCommandFactory { /** * Create the main auth command with subcommands */ static createAuthCommands(): CommandModule; /** * Build options for login subcommand */ private static buildLoginOptions; /** * Build options for logout subcommand */ private static buildLogoutOptions; /** * Build options for status subcommand */ private static buildStatusOptions; /** * Build options for refresh subcommand */ private static buildRefreshOptions; /** * Build options for list subcommand */ private static buildListOptions; /** * Build options for remove subcommand */ private static buildRemoveOptions; /** * Build options for cleanup subcommand */ private static buildCleanupOptions; /** * Build options for enable subcommand */ private static buildEnableOptions; /** * Build options for set-primary subcommand */ private static buildSetPrimaryOptions; /** * Build options for get-primary / clear-primary subcommands. */ private static buildPrimaryConfigOption; /** * Auth provider choices for multi-provider commands */ private static readonly AUTH_PROVIDER_CHOICES; /** * Build common provider options for validate/health commands */ private static buildProviderOptions; /** * Build options for validate subcommand */ private static buildValidateOptions; /** * Build options for health subcommand */ private static buildHealthOptions; }