MCPcopy
hub / github.com/claude-code-best/claude-code / getOauthAccountInfo

Function getOauthAccountInfo

src/utils/auth.ts:1611–1613  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1609 * Returns undefined when using external API keys or third-party services.
1610 */
1611export function getOauthAccountInfo(): AccountInfo | undefined {
1612 return isAnthropicAuthEnabled() ? getGlobalConfig().oauthAccount : undefined
1613}
1614
1615/**
1616 * Checks if overage/extra usage provisioning is allowed for this organization.

Callers 15

getTelemetryAttributesFunction · 0.70
user.tsFile · 0.70
getEmailFunction · 0.70
getEmailAsyncFunction · 0.70
getAccountInformationFunction · 0.70
OAuthStatusMessageFunction · 0.50
MCPRemoteServerMenuFunction · 0.50
RateLimitOptionsMenuFunction · 0.50
authStatusFunction · 0.50
getRateLimitMessageFunction · 0.50
getWarningUpsellTextFunction · 0.50

Calls 2

isAnthropicAuthEnabledFunction · 0.85
getGlobalConfigFunction · 0.85

Tested by

no test coverage detected