共用方式為


JwtBearerOptions.IncludeErrorDetails 屬性

定義

定義是否應該將權杖驗證錯誤傳回給呼叫端。 根據預設,可以停用此選項,以防止 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, set
Public Property IncludeErrorDetails As Boolean

屬性值

適用於