MCPcopy Create free account
hub / github.com/arctic-cli/interface / authenticate

Method authenticate

packages/sdk/js/src/gen/sdk.gen.ts:904–911  ·  view source on GitHub ↗

* Start OAuth flow and wait for callback (opens browser)

(options: Options<McpAuthAuthenticateData, ThrowOnError>)

Source from the content-addressed store, hash-verified

902 * Start OAuth flow and wait for callback (opens browser)
903 */
904 public authenticate<ThrowOnError extends boolean = false>(options: Options<McpAuthAuthenticateData, ThrowOnError>) {
905 return (options.client ?? this._client).post<McpAuthAuthenticateResponses, McpAuthAuthenticateErrors, ThrowOnError>(
906 {
907 url: "/mcp/{name}/auth/authenticate",
908 ...options,
909 },
910 )
911 }
912
913 /**
914 * Set authentication credentials

Callers 2

fnFunction · 0.45
server.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected