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

Function getOauthTokenUrl

src/constants/oauth.ts:81–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81export function getOauthTokenUrl(): string {
82 const noumenaIssuerBaseUrl = getNoumenaIssuerBaseUrl()
83 if (noumenaIssuerBaseUrl) {
84 return `${noumenaIssuerBaseUrl}/oauth/token`
85 }
86 return getOauthConfig().TOKEN_URL
87}
88
89/**
90 * Default first-party inference host used by the legacy compatibility API

Callers 5

exchangeCodeForTokensFunction · 0.85
refreshOAuthTokenFunction · 0.85
oauth.test.tsFile · 0.85

Calls 2

getNoumenaIssuerBaseUrlFunction · 0.85
getOauthConfigFunction · 0.85

Tested by

no test coverage detected