Dela via


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.

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