hutongqing
2024-10-25 d85a4b97325020b7efe1a6cdbd55025c6408cec9
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;