共用方式為


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

屬性值

適用於