public void ConfigureServices(IServiceCollection services)
{
   
	services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
        .AddCookie

更多推荐

(VIP-朝夕教育)2021-06-19 .NET高级班 54-.NET Core添加cookie的方式进行授权,鉴权