Language

CsrfProtectionResult Class

Definition

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.

Applies to