JwtBearerOptions.IncludeErrorDetails Property

Definition

Defines whether the token validation errors should be returned to the caller. Enabled by default, this option can be disabled to prevent the JWT handler from returning an error and an error_description in the WWW-Authenticate header.

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

Property Value

Boolean

Applies to