[Route("/antiforgery/test")]
public class AntiForgeryTest
{
public string Field { get; set; }
}
public class AntiForgeryService : Service
{
public object Any(AntiForgeryTest request)
{
AntiForgery.Validate();
...
}
}
We use a different approach in displaying UI in our SPA. It doesn’t involve dynamic creation of views. Therewhy we cannot embed a token into client page and like to use a cookie token only.
Does your answer mean that there is no support in antiXsrf cookie token along?