UNPKG

todofordevs

Version:

CLI for TodoForDevs - A simple task management tool for developers

20 lines (19 loc) 594 B
/** * Initiate the browser-based login flow * @param silent If true, don't show browser window or output messages (for token refresh) */ export declare function initiateLogin(silent?: boolean): Promise<void>; /** * Log out the current user */ export declare function logout(): void; /** * Check and display the current authentication status */ export declare function checkStatus(): void; /** * Verify that the user is authenticated * Returns true if authenticated, false otherwise * If not authenticated, displays an error message */ export declare function requireAuth(): boolean;