UNPKG

mya-cli

Version:

MYA - AI-Powered Stock & Options Analysis CLI Tool

22 lines (21 loc) 654 B
/** * AuthManagerInterface defines the contract for authentication operations */ import { OtpSendResponse, SessionResponse } from './auth-interfaces'; export interface AuthManagerInterface { sendOtpCode(email: string): Promise<OtpSendResponse>; logout(): Promise<{ success: boolean; message: string; }>; checkAuthStatus(): Promise<{ authenticated: boolean; user?: { id: string; email: string; }; expiresAt?: number; }>; verifyOtpCode(methodId: string, code: string, email: string): Promise<SessionResponse>; setAuthProvider(provider: unknown): void; }