MCPcopy Create free account
hub / github.com/anomalyco/opencode / basic

Function basic

packages/opencode/test/server/httpapi-exercise/backend.ts:107–109  ·  view source on GitHub ↗
(username: string, password: string)

Source from the content-addressed store, hash-verified

105}
106
107function basic(username: string, password: string) {
108 return `Basic ${Buffer.from(`${username}:${password}`).toString("base64")}`
109}
110
111function authProbePath(path: string) {
112 return path

Callers 1

toAuthProbeRequestFunction · 0.70

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected