摘要: ###第一步引用Nuget包 ###第二步 在appsetting中配置我们要的token的参数 { "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lif 阅读全文
posted @ 2021-09-17 15:46 原往 阅读(254) 评论(0) 推荐(0)
摘要: ###第一步 先安装相应的Nuget包 ###第二步 现在startup中添加认证服务 public void ConfigureServices(IServiceCollection services) { services.AddControllers(); #region 直接jwt验证 va 阅读全文
posted @ 2021-09-17 15:05 原往 阅读(260) 评论(0) 推荐(0)