MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / getOauthAccountInfo

Function getOauthAccountInfo

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

Source from the content-addressed store, hash-verified

1663 * Returns undefined when using external API keys or third-party services.
1664 */
1665export function getOauthAccountInfo(): AccountInfo | undefined {
1666 return isAnthropicAuthEnabled() ? getGlobalConfig().oauthAccount : undefined
1667}
1668
1669/**
1670 * 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