12 2021 档案
摘要:参开资料: https://www.cnblogs.com/yangxu-pro/p/7793241.html
阅读全文
摘要:配置身份验证 Program.cs //选择使用那种方式来身份验证 builder.Services.AddAuthentication(option => { option.DefaultAuthenticateScheme = CookieAuthenticationDefaults.Authe
阅读全文
摘要:程序集 Microsoft.AspNetCore.Authentication.JwtBearer; 身份认证服务器 jwt配置类: JWTTokenOptions.cs public class JWTTokenOptions { public string Audience { get; set
阅读全文