TokenValidationParameters.ValidTypes Property

Definition

Gets or sets the IEnumerable<T> that contains valid types that will be used to check against the JWT header's 'typ' claim. If this property is not set, the 'typ' header claim will not be validated and all types will be accepted. In the case of a JWE, this property will ONLY apply to the inner token header. The default is null.

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

Property Value

Applies to