From b86af6f7b8c2c20133b8ad0b730a726acbbd7196 Mon Sep 17 00:00:00 2001 From: bicijinlian Date: Sun, 18 Jun 2023 10:08:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8E=BB=E9=99=A4=E5=88=86=E6=9E=90?= =?UTF-8?q?=E5=99=A8=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AuthStudy.Authentication.Basic.csproj | 1 - .../AuthStudy.Authentication.Browser.csproj | 1 - .../AuthStudy.Authentication.Digest.csproj | 4 ---- .../AuthStudy.Authentication.Shared.csproj | 4 ---- .../AuthStudy.Authentication.SqlServer.csproj | 4 ---- .../AuthStudy.Authentication.UrlQuery.csproj | 4 ---- AuthStudy.WebApp/AuthStudy.WebApp.csproj | 1 - AuthStudy.WebApp/Program.cs | 7 +++++++ 8 files changed, 7 insertions(+), 19 deletions(-) diff --git a/AuthStudy.Authentication.Basic/AuthStudy.Authentication.Basic.csproj b/AuthStudy.Authentication.Basic/AuthStudy.Authentication.Basic.csproj index a383da2..3cc0a7d 100644 --- a/AuthStudy.Authentication.Basic/AuthStudy.Authentication.Basic.csproj +++ b/AuthStudy.Authentication.Basic/AuthStudy.Authentication.Basic.csproj @@ -8,7 +8,6 @@ - diff --git a/AuthStudy.Authentication.Browser/AuthStudy.Authentication.Browser.csproj b/AuthStudy.Authentication.Browser/AuthStudy.Authentication.Browser.csproj index 75921b5..18c26a9 100644 --- a/AuthStudy.Authentication.Browser/AuthStudy.Authentication.Browser.csproj +++ b/AuthStudy.Authentication.Browser/AuthStudy.Authentication.Browser.csproj @@ -9,7 +9,6 @@ - diff --git a/AuthStudy.Authentication.Digest/AuthStudy.Authentication.Digest.csproj b/AuthStudy.Authentication.Digest/AuthStudy.Authentication.Digest.csproj index 7082396..d8b8d08 100644 --- a/AuthStudy.Authentication.Digest/AuthStudy.Authentication.Digest.csproj +++ b/AuthStudy.Authentication.Digest/AuthStudy.Authentication.Digest.csproj @@ -10,10 +10,6 @@ - - - - diff --git a/AuthStudy.Authentication.Shared/AuthStudy.Authentication.Shared.csproj b/AuthStudy.Authentication.Shared/AuthStudy.Authentication.Shared.csproj index c3594f0..cfadb03 100644 --- a/AuthStudy.Authentication.Shared/AuthStudy.Authentication.Shared.csproj +++ b/AuthStudy.Authentication.Shared/AuthStudy.Authentication.Shared.csproj @@ -6,8 +6,4 @@ enable - - - - diff --git a/AuthStudy.Authentication.SqlServer/AuthStudy.Authentication.SqlServer.csproj b/AuthStudy.Authentication.SqlServer/AuthStudy.Authentication.SqlServer.csproj index c12c8bd..a636233 100644 --- a/AuthStudy.Authentication.SqlServer/AuthStudy.Authentication.SqlServer.csproj +++ b/AuthStudy.Authentication.SqlServer/AuthStudy.Authentication.SqlServer.csproj @@ -6,10 +6,6 @@ enable - - - - diff --git a/AuthStudy.Authentication.UrlQuery/AuthStudy.Authentication.UrlQuery.csproj b/AuthStudy.Authentication.UrlQuery/AuthStudy.Authentication.UrlQuery.csproj index c12c8bd..a636233 100644 --- a/AuthStudy.Authentication.UrlQuery/AuthStudy.Authentication.UrlQuery.csproj +++ b/AuthStudy.Authentication.UrlQuery/AuthStudy.Authentication.UrlQuery.csproj @@ -6,10 +6,6 @@ enable - - - - diff --git a/AuthStudy.WebApp/AuthStudy.WebApp.csproj b/AuthStudy.WebApp/AuthStudy.WebApp.csproj index 6a5452d..1764410 100644 --- a/AuthStudy.WebApp/AuthStudy.WebApp.csproj +++ b/AuthStudy.WebApp/AuthStudy.WebApp.csproj @@ -8,7 +8,6 @@ - diff --git a/AuthStudy.WebApp/Program.cs b/AuthStudy.WebApp/Program.cs index be05ad2..f827a9e 100644 --- a/AuthStudy.WebApp/Program.cs +++ b/AuthStudy.WebApp/Program.cs @@ -66,6 +66,13 @@ namespace AuthStudy.WebApp #endregion + #region 授权注册 + builder.Services.AddAuthorization(configure => + { + + }); + #endregion + WebApplication app = builder.Build(); // 配置 Http 管道.