Manage Custom Claim value in AspNetUserClaimLayoutRenderer
Motivation for New Feature
This feature allows to retrieve information about the current user logged also in custom claims
Proposed Changes
Added new prefix CustomClaim. in ClaimType
Description
Now the parameter ClaimType checks only if the value specified is ClaimTypes. or ClaimType.
Adding the new prefix CustomClaim. in ClaimType you can specify your custom claim full path with the below pattern
New Feature
Manage Custom Claim value in
AspNetUserClaimLayoutRenderer
Motivation for New Feature
This feature allows to retrieve information about the current user logged also in custom claims
Proposed Changes
Added new prefix CustomClaim. in ClaimType
Description
Now the parameter ClaimType checks only if the value specified is ClaimTypes. or ClaimType. Adding the new prefix CustomClaim. in ClaimType you can specify your custom claim full path with the below pattern
aspnet-user-claim:CustomClaim.scheme.host/mypath
Ex.
NLog version: 5.2.7
NLog.Web / NLog.Web.AspNetCore version: 5.3.7
NLog.Extensions.Logging version: 5.3.7
Platform: .Net 3.5 / .Net 4.6 / .NET Core 3.1 / .NET 6.0
Pull Request Reference #1017