IAntiforgeryValidationFeature Interface

Definition

Used to set the result of anti-forgery token validation.

C#
public interface IAntiforgeryValidationFeature

Properties

Error

Gets the Exception that occurred when validating the anti-forgery token.

IsValid

Gets a value that determines if the anti-forgery token on the request is valid.

Applies to

Product Versions
ASP.NET Core 8.0, 9.0