修改的Microsoft.AspNetCore.Authentication.Cookies包,增加在cookie验证模式下。ajax请求返回json而不是直接跳转页面.
Info
Version: | 5.0.0 |
Author(s): | QingCheng.AspNetCore.Authentication.Cookies |
Last Update: | Thursday, December 10, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/coolqingcheng/QingCheng.AspNetCore.Authentication.Cookies.git |
NuGet Url: | https://www.nuget.org/packages/QingCheng.AspNetCore.Authentication.Cookies |
Install
Install-Package QingCheng.AspNetCore.Authentication.Cookies
dotnet add package QingCheng.AspNetCore.Authentication.Cookies
paket add QingCheng.AspNetCore.Authentication.Cookies
QingCheng.AspNetCore.Authentication.Cookies Download (Unzip the "nupkg" after downloading)