你的位置: 码友网首页 / 资讯源列表 / Useful ClaimsPrincipal extension methods I use in my projects

关于[Useful ClaimsPrincipal extension methods I use in my projects]的摘要:

To obtain information about the current user in an ASP.NET Core application, you can look at the claims on the User property of the current HttpContext. These claims give you access to information such as the user’s ID, email address, roles, and whatever other information about the user is stored in these claims.

原文地址: https://www.jerriepelser.com/blog/useful-claimsprincipal-extension-methods/

收录时间: 2019-12-11 浏览量: 1553 分类: ASP.NET Core

| 0 收藏 | 0