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

Function isCurrentExternalApiKeySession

src/services/api/errors.ts:244–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242}
243
244function isCurrentExternalApiKeySession(): boolean {
245 const session = getCurrentErrorSession()
246 return (
247 isCurrentExternalEnvApiKeySession() ||
248 session?.rawApiKeySource === 'apiKeyHelper'
249 )
250}
251
252function hasCurrentOauthBackedFirstPartyErrorSession(): boolean {
253 const session = getCurrentErrorSession()

Callers 1

Calls 2

getCurrentErrorSessionFunction · 0.85

Tested by

no test coverage detected