* Get current authentication status
()
| 1731 | * Get current authentication status |
| 1732 | */ |
| 1733 | async getAuthStatus(): Promise<GetAuthStatusResponse> { |
| 1734 | if (!this.connection) { |
| 1735 | throw new Error("Client not connected"); |
| 1736 | } |
| 1737 | |
| 1738 | const result = await this.connection.sendRequest("auth.getStatus", {}); |
| 1739 | return result as GetAuthStatusResponse; |
| 1740 | } |
| 1741 | |
| 1742 | /** |
| 1743 | * List available models with their metadata. |
no test coverage detected