TokenValidationParameters.TypeValidator 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 a delegate that will be used to validate the type of the token. If the token type cannot be validated, an exception MUST be thrown by the delegate. Note: the 'type' parameter may be null if it couldn't be extracted from its usual location. Implementations that need to resolve it from a different location can use the 'token' parameter.
public Microsoft.IdentityModel.Tokens.TypeValidator TypeValidator { get; set; }
member this.TypeValidator : Microsoft.IdentityModel.Tokens.TypeValidator with get, set
Public Property TypeValidator As TypeValidator
Property Value
Remarks
If set, this delegate will be called to validate the 'type' of the token, instead of default processing. This means that no default 'type' validation will occur.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor