TokenValidationParameters.ValidTypes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla