So far our agents act under their own identity. Many real agents act for someone: summarise my inbox, triage tickets assigned to me, draft a reply to this customer. Part 1 called out the shortcut most teams take, forwarding the user’s own Token, and why it makes every agent bug a user compromise. This part replaces it with delegation through OAuth 2.0 Token Exchange, RFC 8693. RFC 8693 distinguishes two semantics.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with IConfiguration
Contact IConfiguration, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck RackActions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Articles
In my previous article, I covered validation in Minimal APIs, but security is just as important. Most applications rely on JWT authentication for securing APIs, so in this article, Iโll walk you through how to create an Identity Service for JWT authentication. ๐ Note: This article will not include ASP.NET Core Identity. If you're interested in a separate article on that, let me know, and Iโll add an implementation to my GitHub repo.
ASP.NET Core - 选项系统之源码介绍
.NET Core 选项系统的主要实现在 Microsoft.Extensions.Options 和 Microsoft.Extensions.Options.ConfigurationExtensions 两个 Nuget 包。对于一个框架的源码进行解读,我们可以从我们常用的框架中的类或方法入手,这些类或方法就是我们解读的入口。 从上面对选项系统的介绍中,大家也可以看出,日常对选项系统的使用涉及到的主要有 Configure 方法,有 IOptions<TOptions>、IOptionsSnapshot<TOptions>、IOptionMonitor<TOptions> 等接口。 Configure 首先看选项注册,也就是 Configure 方法,注册相关的方法都是扩展方法,之前的章节也讲到 Configure 方法有多个扩展来源,其中最常用的是 OptionsConfigurationServiceCollectionExtensions 中的 Configure 方法,该方法用于从配置信息中读取配置并绑定为选项,如下,这里将相应的方法单独摘出来了。 public...
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with IConfiguration
Contact IConfiguration, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack