CsrfProtectionResult Class
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.
Represents the result of cross-origin antiforgery request validation.
public sealed class CsrfProtectionResult
type CsrfProtectionResult = class
Public NotInheritable Class CsrfProtectionResult
- Inheritance
-
CsrfProtectionResult
Properties
| Name | Description |
|---|---|
| IsAllowed |
Gets a value indicating whether the request is allowed. |
Methods
| Name | Description |
|---|---|
| Allowed() |
Returns a CsrfProtectionResult indicating the request is allowed. |
| Denied() |
Returns a CsrfProtectionResult indicating the request is denied. |