Share via


ValidationParameters.AlgorithmValidator Property

Definition

Allows overriding the delegate used to validate the cryptographic algorithm used.

public Microsoft.IdentityModel.Tokens.Experimental.AlgorithmValidationDelegate AlgorithmValidator { get; set; }
member this.AlgorithmValidator : Microsoft.IdentityModel.Tokens.Experimental.AlgorithmValidationDelegate with get, set
Public Property AlgorithmValidator As AlgorithmValidationDelegate

Property Value

Remarks

If no delegate is set, the default implementation will be used. The default checks the algorithm against the ValidAlgorithms property, if present. If not, it will succeed.

Applies to