MCPcopy Create free account
hub / github.com/freecodexyz/free-code / getOauthAccountInfo

Function getOauthAccountInfo

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

Source from the content-addressed store, hash-verified

1681 * Returns undefined when using external API keys or third-party services.
1682 */
1683export function getOauthAccountInfo(): AccountInfo | undefined {
1684 return isAnthropicAuthEnabled() ? getGlobalConfig().oauthAccount : undefined
1685}
1686
1687/**
1688 * 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