MCPcopy Index your code
hub / github.com/codeaashu/claude-code / state

Method state

src/services/mcp/auth.ts:1473–1480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1471 }
1472
1473 async state(): Promise<string> {
1474 // Generate state if not already generated for this instance
1475 if (!this._state) {
1476 this._state = randomBytes(32).toString('base64url')
1477 logMCPDebug(this.serverName, 'Generated new OAuth state')
1478 }
1479 return this._state
1480 }
1481
1482 async clientInformation(): Promise<OAuthClientInformation | undefined> {
1483 const storage = getSecureStorage()

Callers 1

performMCPOAuthFlowFunction · 0.95

Calls 2

logMCPDebugFunction · 0.85
toStringMethod · 0.65

Tested by

no test coverage detected