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

Function getOauthAccountInfo

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

Source from the content-addressed store, hash-verified

1888 * Returns undefined when using external API keys or third-party services.
1889 */
1890export function getOauthAccountInfo(): AccountInfo | undefined {
1891 return isAnthropicAuthEnabled() ? getGlobalConfig().oauthAccount : undefined
1892}
1893
1894/**
1895 * Checks if overage/extra usage provisioning is allowed for this organization.

Callers 2

getAccountInformationFunction · 0.85

Calls 2

isAnthropicAuthEnabledFunction · 0.85
getGlobalConfigFunction · 0.70

Tested by

no test coverage detected