MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / quoteAuthParam

Function quoteAuthParam

apps/cloud/src/mcp/responses.ts:12–13  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

10};
11
12const quoteAuthParam = (value: string) =>
13 `"${value.replaceAll("\\", "\\\\").replaceAll('"', '\\"')}"`;
14
15export const bearerChallenge = (auth: UnauthorizedAuth, protectedResourceMetadataUrl: string) => {
16 const params =

Callers 1

bearerChallengeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected