( reason: McpUnauthorizedReason, description?: string, )
| 124 | }); |
| 125 | |
| 126 | export 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 |
no outgoing calls
no test coverage detected