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

Function mcpUnauthorized

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

Source from the content-addressed store, hash-verified

126});
127
128export const mcpUnauthorized = (
129 reason: McpUnauthorizedReason,
130 description?: string,
131): McpUnauthorizedResult => ({
132 _tag: "Unauthorized",
133 reason,
134 description,
135});
136
137/**
138 * 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