ClaimsPrincipal parameter injection sample request
维护者通常 5 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 74/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- csharp
调研方向
阅读链接的 identity 文档,尤其是有关直接注入 ClaimsPrincipal 参数的部分,然后检查 repository 的 samples 目录中现有的示例。添加一个演示推荐注入方式的示例,并确认它能够与其他示例一致地构建。
由索引模型根据 Issue 内容生成。
描述
Direct ClaimsPrincipal parameter injection is the recommended approach but there is currently no sample in https://github.com/modelcontextprotocol/csharp-sdk/tree/main/samples for that
- 主要语言
- C#
- 星标
- 4.6k
- 派生
- 819
- 平均合并
- 4 天 23 小时
- 30 天内合并 PR
- 2
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modelcontextprotocol/csharp-sdk 的其他 Issue
-
Document ClientOAuthOptions.ScopeSelector usage可能已有人在做 @z0rimo 于 26 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
modelcontextprotocol/csharp-sdk#1867 · 1 条评论 ·
维护者通常 5 天内回复
-
HTTP+SSE client: POST responses are never disposed, leaking one connection per sent message可能已有人在做 @yalcinfu22 于 41 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
modelcontextprotocol/csharp-sdk#1840 · 1 条评论 ·
维护者通常 5 天内回复
-
stdio client never closes the server's stdin, so every client dispose burns the full ShutdownTimeout (5s by default)可能已有人在做 @luisangelrod 于 42 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
modelcontextprotocol/csharp-sdk#1836 · 1 条评论 ·
维护者通常 5 天内回复
-
enhancement needs confirmation
难度 2/5 1-3 小时 新手友好度 64/100
modelcontextprotocol/csharp-sdk#678 · 1 条评论 ·
维护者通常 5 天内回复
-
`SseClientTransport.Endpoint` should be nullable when `HttpClient` is provided可能已有人在做 @lntutor 于 80 天前认领。 未关闭enhancement needs confirmation P3 ready for work
难度 2/5 1-3 小时 新手友好度 68/100
modelcontextprotocol/csharp-sdk#515 · 6 条评论 · 3 个 reaction ·
维护者通常 5 天内回复
查看 modelcontextprotocol/csharp-sdk 的全部 Issue
相似的 Issue
-
Bug pulumi/pulumi
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
activescott/lessmsi#306 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
HTML sitemap lists unpublished pages可能已有人在做 @KrzysztofPajak 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
grandnode/grandnode2#883 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复