# Microsoft.AspNetCore.Antiforgery

``` diff
 namespace Microsoft.AspNetCore.Antiforgery {
+    public interface IAntiforgeryMetadata {
+        bool RequiresValidation { get; }
+    }
+    public interface IAntiforgeryValidationFeature {
+        Exception Error { get; }
+        bool IsValid { get; }
+    }
+    [AttributeUsageAttribute(68)]
+    public class RequireAntiforgeryTokenAttribute : Attribute, IAntiforgeryMetadata {
+        public RequireAntiforgeryTokenAttribute(bool required = true);
+        public bool RequiresValidation { get; }
+    }
 }
```

