Delen via


JwtBearerOptions.MapInboundClaims Property

Definition

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

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.

public:
 property bool MapInboundClaims { bool get(); void set(bool value); };
public bool MapInboundClaims { get; set; }
member this.MapInboundClaims : bool with get, set
Public Property MapInboundClaims As Boolean

Property Value

Applies to