Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​AspNetCore.​Antiforgery.​IAntiforgeryValidationFeature

Assembly: Microsoft.AspNetCore.Http.Features

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

Properties

bool
IsValid
Gets a value that determines if the anti-forgery token on the request is valid.
Gets the <see cref="T:System.Exception" /> that occurred when validating the anti-forgery token.