Partilhar via


TokenValidationParameters.AlgorithmValidator Property

Definition

Gets or sets a delegate used to validate the cryptographic algorithm used.

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

Property Value

Remarks

If set, this delegate will validate the cryptographic algorithm used and the algorithm will not be checked against ValidAlgorithms.

Applies to