语言

TokenValidationParameters.LogValidationExceptions 属性

定义

获取或设置一个 Boolean 将决定是否需要将验证失败记录为错误。 默认值用于 true 向后兼容行为。 如果设置为 false,则会将验证失败记录为信息,然后引发。

public bool LogValidationExceptions { get; set; }
member this.LogValidationExceptions : bool with get, set
Public Property LogValidationExceptions As Boolean

属性值

适用于