@visionfi/server-cli
Version:
Command-line interface for VisionFI Server SDK
25 lines (24 loc) • 600 B
TypeScript
/**
* Verify authentication with the API
*/
export declare function verifyAuth(): Promise<void>;
/**
* Configure authentication
*/
export declare function configureAuth(options?: {
method?: string;
serviceAccountPath?: string;
impersonateServiceAccount?: string;
}): Promise<void>;
/**
* Get and display the JWT token
*/
export declare function getToken(): Promise<void>;
/**
* Logout and clear authentication configuration
*/
export declare function logout(): Promise<void>;
/**
* Show current authentication configuration
*/
export declare function showAuth(): Promise<void>;