JwtBearerOptions.IncludeErrorDetails Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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