Class FormFieldCapabilityGrantBindingOptions
- Namespace
- AsiBackbone.AspNetCore.CapabilityGrants
- Assembly
- AsiBackbone.AspNetCore.dll
Configures FormFieldCapabilityGrantRequestBindingProvider.
public sealed class FormFieldCapabilityGrantBindingOptions
- Inheritance
-
FormFieldCapabilityGrantBindingOptions
- Inherited Members
Fields
DefaultAntiforgeryFormFieldName
Gets the default antiforgery form field name, excluded even when antiforgery options are not registered.
public const string DefaultAntiforgeryFormFieldName = "__RequestVerificationToken"
Field Value
Properties
ExcludedFieldNames
Gets additional form field names, compared case-insensitively, that the binding leaves out.
public ISet<string> ExcludedFieldNames { get; }
Property Value
Remarks
Contains DefaultAntiforgeryFormFieldName by default. Exclude only fields that do not change what the request does, because an excluded field can be changed without invalidating the grant.