JwtSecurityTokenHandler.InboundClaimFilter Property

Definition

Gets or sets the ISet<T> used to filter claims when populating a ClaimsIdentity claims form a JwtSecurityToken. When a JwtSecurityToken is validated, claims with types found in this ISet<T> will not be added to the ClaimsIdentity.

The default value is ClaimTypeMapping.InboundClaimFilter.

public System.Collections.Generic.ISet<string> InboundClaimFilter { get; set; }
member this.InboundClaimFilter : System.Collections.Generic.ISet<string> with get, set
Public Property InboundClaimFilter As ISet(Of String)

Property Value

Exceptions

'value' is null.

Applies to