你的位置: 码友网首页 / 资讯源列表 / Adding claims to existing identity

关于[Adding claims to existing identity]的摘要:

During moving one system from classic ASP.NET MVC to ASP.NET Core I faced an interesting challenge. Although access to system is based on Active Directory there is separate role management based on classic membership and roles providers. There are reasons why AD is not used for role management and I cannot change it. ASP.NET Core uses claims-based authentication and I needed to find a way to add role claims to authenticated identity. Here’s the solution.

原文地址: https://gunnarpeipman.com/aspnet-core-adding-claims-to-existing-identity/

收录时间: 2020-11-24 浏览量: 1428 分类: C#开发

| 0 收藏 | 0