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

Function getOauthAccountInfo

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

Source from the content-addressed store, hash-verified

1613 * Returns undefined when using external API keys or third-party services.
1614 */
1615export function getOauthAccountInfo(): AccountInfo | undefined {
1616 return isAnthropicAuthEnabled() ? getGlobalConfig().oauthAccount : undefined
1617}
1618
1619/**
1620 * 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