JwtBearerOptions.IncludeErrorDetails 属性     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义是否应将令牌验证错误返回给调用方。 默认情况下,可以禁用此选项,以防止 JWT 处理程序在 WWW-Authenticate 标头中返回错误和error_description。
public:
 property bool IncludeErrorDetails { bool get(); void set(bool value); };public bool IncludeErrorDetails { get; set; }member this.IncludeErrorDetails : bool with get, setPublic Property IncludeErrorDetails As Boolean