|
AntiForgeryConfigSuppressIdentityHeuristicChecks Property
|
Specifies whether the anti-forgery system should skip checking
for conditions that might indicate misuse of the system. Please
use caution when setting this switch, as improper use could open
security holes in the application.
Namespace: GSF.Web.SecurityAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.248-beta
Syntax[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static bool SuppressIdentityHeuristicChecks { get; set; }
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Shared Property SuppressIdentityHeuristicChecks As Boolean
Get
Set
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
static property bool SuppressIdentityHeuristicChecks {
bool get ();
void set (bool value);
}
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member SuppressIdentityHeuristicChecks : bool with get, set
GSF.Web.Security.AntiForgeryConfig.get_SuppressIdentityHeuristicChecks = function();
GSF.Web.Security.AntiForgeryConfig.set_SuppressIdentityHeuristicChecks = function(value);
View SourceProperty Value
Boolean
Remarks
Setting this switch will disable several checks, including:
- Identity.IsAuthenticated = true without Identity.Name being set
See Also