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

Function mcpUnauthorized

apps/cloud/src/mcp/auth.ts:126–133  ·  view source on GitHub ↗
(
  reason: McpUnauthorizedReason,
  description?: string,
)

Source from the content-addressed store, hash-verified

124});
125
126export const mcpUnauthorized = (
127 reason: McpUnauthorizedReason,
128 description?: string,
129): McpUnauthorizedResult => ({
130 _tag: "Unauthorized",
131 reason,
132 description,
133});
134
135/**
136 * Reason-sensitive RFC 9728 challenge for an Unauthorized auth result. The

Callers 2

auth.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected