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 管道.