摘要:
参开资料: https://www.cnblogs.com/yangxu-pro/p/7793241.html 阅读全文
posted @ 2021-12-19 23:48
easy5
阅读(98)
评论(0)
推荐(0)
摘要:
配置身份验证 Program.cs //选择使用那种方式来身份验证 builder.Services.AddAuthentication(option => { option.DefaultAuthenticateScheme = CookieAuthenticationDefaults.Authe 阅读全文
posted @ 2021-12-19 01:35
easy5
阅读(3026)
评论(3)
推荐(1)
摘要:
程序集 Microsoft.AspNetCore.Authentication.JwtBearer; 身份认证服务器 jwt配置类: JWTTokenOptions.cs public class JWTTokenOptions { public string Audience { get; set 阅读全文
posted @ 2021-12-19 01:07
easy5
阅读(2785)
评论(0)
推荐(0)

浙公网安备 33010602011771号