<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.19.2" />

Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAlgorithmException

This exception is thrown when a cryptographic algorithm is invalid.
public string InvalidAlgorithm { get; set; }

Gets or sets the invalid algorithm that created the validation exception.

Initializes a new instance of the SecurityTokenInvalidAlgorithmException class.

Initializes a new instance of the SecurityTokenInvalidAlgorithmException class.

public SecurityTokenInvalidAlgorithmException(string message, Exception innerException)

Initializes a new instance of the SecurityTokenInvalidAlgorithmException class.

Initializes a new instance of the SecurityTokenInvalidTypeException class.