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.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for