diff --git a/Directory.Build.props b/Directory.Build.props index f235f9f..9ad1b83 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -36,7 +36,12 @@ $(MSBuildThisFileDirectory) + + federation-logo.png + README.md + + - + diff --git a/Federation/Directory.Build.props b/Federation/Directory.Build.props index 3f2394d..5e7519a 100644 --- a/Federation/Directory.Build.props +++ b/Federation/Directory.Build.props @@ -5,13 +5,8 @@ Wangkanai.Federation - - federation-logo.png - README.md - - - + diff --git a/Identity/Directory.Build.props b/Identity/Directory.Build.props index 83b4a4b..c668691 100644 --- a/Identity/Directory.Build.props +++ b/Identity/Directory.Build.props @@ -5,16 +5,10 @@ Wangkanai Identity aspnetcore;identity;model; Introducing `Identity`, your essential toolkit for OpenID Connect and OAuth 2 integration in ASP.NET Core. Simplify your authentication and authorization systems with our handpicked collection of helper models. Whether for enterprise-level applications or personal projects, `Identity` offers versatility and ease-of-use. Discover Identity and take your security implementation to new heights. - https://github.com/wangkanai/wangkanai/tree/main/Identity - - - - federation-logo.png - README.md - + diff --git a/Security/Directory.Build.props b/Security/Directory.Build.props index dfb6b7b..79a6758 100644 --- a/Security/Directory.Build.props +++ b/Security/Directory.Build.props @@ -6,6 +6,10 @@ Enhance your ASP.NET Core applications with Security, an extension to the native ASP.NET Core Security. This library brings advanced features for a comprehensive and proactive security solution. + + + + $(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage @@ -23,13 +27,4 @@ - - wangkanai-logo.png - README.md - - - - - - diff --git a/Security/src/Core/PrivateNetworkPolicy.cs b/Security/src/Core/PrivateNetworkPolicy.cs index b1956e1..b9b7bba 100644 --- a/Security/src/Core/PrivateNetworkPolicy.cs +++ b/Security/src/Core/PrivateNetworkPolicy.cs @@ -4,18 +4,18 @@ namespace Wangkanai.Security; public class PrivateNetworkPolicy { - public IReadOnlyList Requirements { get; } - public IReadOnlyList AuthenticationSchemes { get; } + public IReadOnlyList Requirements { get; } + public IReadOnlyList AuthenticationSchemes { get; } - public PrivateNetworkPolicy(IEnumerable requirements, IEnumerable authenticationSchemes) - { - requirements.ThrowIfNull(); - authenticationSchemes.ThrowIfNull(); + public PrivateNetworkPolicy(IEnumerable requirements, IEnumerable authenticationSchemes) + { + requirements.ThrowIfNull(); + authenticationSchemes.ThrowIfNull(); - if (!requirements.Any()) - throw new InvalidOperationException(SecurityResources.Exception_PrivateNetworkPolicyEmpty); + if (!requirements.Any()) + throw new InvalidOperationException(SecurityResources.Exception_PrivateNetworkPolicyEmpty); - Requirements = new List(requirements).AsReadOnly(); - AuthenticationSchemes = new List(authenticationSchemes).AsReadOnly(); - } -} + Requirements = new List(requirements).AsReadOnly(); + AuthenticationSchemes = new List(authenticationSchemes).AsReadOnly(); + } +} \ No newline at end of file