MCPcopy Index your code
hub / github.com/github/copilot-sdk / getAuthStatus

Method getAuthStatus

nodejs/src/client.ts:1733–1740  ·  view source on GitHub ↗

* Get current authentication status

()

Source from the content-addressed store, hash-verified

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.

Callers 2

client.e2e.test.tsFile · 0.45
rpc.e2e.test.tsFile · 0.45

Calls 1

sendRequestMethod · 0.45

Tested by

no test coverage detected