CsrfProtection Class |
Namespace: CMS.Protection.Web.UI
public sealed class CsrfProtection
The CsrfProtection type exposes the following members.
Name | Description | |
---|---|---|
CsrfProtection |
Name | Description | |
---|---|---|
HIDDEN_FIELD_NAME |
Defines the name of the hidden field used to store CSRF token.
This constant is not intended for public use.
|
Name | Description | |
---|---|---|
IsProtectionEnabled |
Returns true when CSRF protection is enabled by web.config key.
|