Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/mux
/ mcpOauthService.test.ts
File
mcpOauthService.test.ts
src/node/services/mcpOauthService.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, test, expect, beforeEach, afterEach } from
"bun:test"
;
2
import
{ createServer } from
"http"
;
3
import
* as fs from
"fs/promises"
;
4
import
* as os from
"os"
;
Callers
nothing calls this directly
Calls
15
parseBearerWwwAuthenticate
Function · 0.90
probeServerForBearerChallenge
Function · 0.90
resolveOAuthScope
Function · 0.90
getStoreFilePath
Function · 0.85
readStoreFile
Function · 0.85
startMetadataServer
Function · 0.85
addServer
Method · 0.80
getAuthStatus
Method · 0.80
hasAuthTokens
Method · 0.80
logout
Method · 0.80
resolve
Function · 0.70
dispose
Method · 0.65
Tested by
no test coverage detected