Manual Anti-Forgery Token Creation and Validation in ASP.NET 5

前端 未结 2 2000
南旧
南旧 2021-02-06 13:46

I am playing around with ASP vnext and AngularJS. I have set up a Web API, am using some controllers and am using angular to do some web-magic.

I have followed most of t

2条回答
  •  抹茶落季
    2021-02-06 14:11

    check out MVC Github repo, ValidateAntiForgeryTokenAttribute exists.

    And there's the asp-anti-forgerytaghelper

提交回复
热议问题