From 9eeca6aa905cffea1c95d965b4790fbd20ce2275 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期五, 25 十月 2024 16:19:16 +0800 Subject: [PATCH] 更新字典数据获取 --- WIDESEAWCS_Server/WIDESEAWCS_Core/Authorization/AuthorizationSetup.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Core/Authorization/AuthorizationSetup.cs b/WIDESEAWCS_Server/WIDESEAWCS_Core/Authorization/AuthorizationSetup.cs index 11b2c93..f4f2ca9 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_Core/Authorization/AuthorizationSetup.cs +++ b/WIDESEAWCS_Server/WIDESEAWCS_Core/Authorization/AuthorizationSetup.cs @@ -10,6 +10,7 @@ using System.Text; using System.Threading.Tasks; using WIDESEAWCS_Core.Const; +using WIDESEAWCS_Core.Extensions; using WIDESEAWCS_Core.Helper; namespace WIDESEAWCS_Core.Authorization @@ -27,7 +28,7 @@ public static void AddAuthorizationSetup(this IServiceCollection services) { if (services == null) throw new ArgumentNullException(nameof(services)); - + services.AddAuthentication(options => { options.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme; -- Gitblit v1.9.3