Ben Foster 3/21/2016

Customising claims transformation in ASP.NET Core Identity

Read Original

This technical article explains how to extend ASP.NET Core Identity to include additional claims during user authentication. It demonstrates two methods: implementing a custom IClaimsTransformer and creating a derived UserClaimsPrincipalFactory to add user properties like first and last name to the generated ClaimsIdentity. Code examples and registration steps are provided.

Customising claims transformation in ASP.NET Core Identity

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser