OpenIdConnectOptions.MapInboundClaims Property

Definition

Gets or sets the MapInboundClaims property on the default instance of JwtSecurityTokenHandler in SecurityTokenValidator and default instance of JsonWebTokenHandler in TokenHandler, which is used when determining whether or not to map claim types that are extracted when validating a JwtSecurityToken.

If this is set to true, the Claim Type is set to the JSON claim 'name' after translating using this mapping. Otherwise, no mapping occurs.

The default value is true.

C#
public bool MapInboundClaims { get; set; }

Property Value

Applies to

Product Versions
ASP.NET Core 5.0, 6.0, 7.0, 8.0, 9.0