From e659d3dd76dd91ccbeebfca85df64fbe227b30b5 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 4 Feb 2023 10:29:43 +0200 Subject: [PATCH] Netmash.Security.Authentication.Identity => Netmash.Security.Authentication.Tuitio --- Netmash.sln | 2 +- Notes.txt | 2 +- .../Abstractions/IAuthenticationOptions.cs | 2 +- .../AuthenticationExtensions.cs | 4 ++-- .../Constants/ClaimTypes.cs | 2 +- .../Constants/QueryParams.cs | 2 +- .../IdentityAuthenticationHandler.cs | 6 +++--- .../Models/AuthenticationOptions.cs | 4 ++-- .../Netmash.Security.Authentication.Tuitio.csproj} | 0 .../Netmash.Test.Api/Extensions/AuthenticationExtensions.cs | 4 ++-- src/test/Netmash.Test.Api/Netmash.Test.Api.csproj | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) rename src/security/authentication/{Netmash.Security.Authentication.Identity => Netmash.Security.Authentication.Tuitio}/Abstractions/IAuthenticationOptions.cs (81%) rename src/security/authentication/{Netmash.Security.Authentication.Identity => Netmash.Security.Authentication.Tuitio}/AuthenticationExtensions.cs (93%) rename src/security/authentication/{Netmash.Security.Authentication.Identity => Netmash.Security.Authentication.Tuitio}/Constants/ClaimTypes.cs (81%) rename src/security/authentication/{Netmash.Security.Authentication.Identity => Netmash.Security.Authentication.Tuitio}/Constants/QueryParams.cs (62%) rename src/security/authentication/{Netmash.Security.Authentication.Identity => Netmash.Security.Authentication.Tuitio}/IdentityAuthenticationHandler.cs (96%) rename src/security/authentication/{Netmash.Security.Authentication.Identity => Netmash.Security.Authentication.Tuitio}/Models/AuthenticationOptions.cs (74%) rename src/security/authentication/{Netmash.Security.Authentication.Identity/Netmash.Security.Authentication.Identity.csproj => Netmash.Security.Authentication.Tuitio/Netmash.Security.Authentication.Tuitio.csproj} (100%) diff --git a/Netmash.sln b/Netmash.sln index 2b90a66..98cfec1 100644 --- a/Netmash.sln +++ b/Netmash.sln @@ -62,7 +62,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Hosting.WindowsServ EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Logging.Api", "src\logging\Netmash.Logging.Api\Netmash.Logging.Api.csproj", "{5CB39BE9-0C83-4FDC-AB26-32642EA13639}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Security.Authentication.Identity", "src\security\authentication\Netmash.Security.Authentication.Identity\Netmash.Security.Authentication.Identity.csproj", "{D926068E-7C61-4130-B7A0-C38294F13855}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Security.Authentication.Tuitio", "src\security\authentication\Netmash.Security.Authentication.Tuitio\Netmash.Security.Authentication.Tuitio.csproj", "{D926068E-7C61-4130-B7A0-C38294F13855}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Netmash.Test.Api", "src\test\Netmash.Test.Api\Netmash.Test.Api.csproj", "{B7B073F6-91D5-4EB1-876C-76F6BD612FD9}" EndProject diff --git a/Notes.txt b/Notes.txt index b8eec52..14286e2 100644 --- a/Notes.txt +++ b/Notes.txt @@ -17,7 +17,7 @@ dotnet nuget push Netmash.Extensions.Swagger.1.0.6.nupkg -k ****KEY**** -s https dotnet nuget push Netmash.Extensions.Http.1.0.0.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget -dotnet nuget push Netmash.Security.Authentication.Identity.1.0.8.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget +dotnet nuget push Netmash.Security.Authentication.Tuitio.1.0.8.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget dotnet nuget push Netmash.Extensions.Caching.1.0.1.nupkg -k ****KEY**** -s https://lab.code-rove.com/public-nuget-server/nuget diff --git a/src/security/authentication/Netmash.Security.Authentication.Identity/Abstractions/IAuthenticationOptions.cs b/src/security/authentication/Netmash.Security.Authentication.Tuitio/Abstractions/IAuthenticationOptions.cs similarity index 81% rename from src/security/authentication/Netmash.Security.Authentication.Identity/Abstractions/IAuthenticationOptions.cs rename to src/security/authentication/Netmash.Security.Authentication.Tuitio/Abstractions/IAuthenticationOptions.cs index a049f39..88eb7a1 100644 --- a/src/security/authentication/Netmash.Security.Authentication.Identity/Abstractions/IAuthenticationOptions.cs +++ b/src/security/authentication/Netmash.Security.Authentication.Tuitio/Abstractions/IAuthenticationOptions.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Http; using System; -namespace Netmash.Security.Authentication.Identity.Abstractions +namespace Netmash.Security.Authentication.Tuitio.Abstractions { public interface IAuthenticationOptions { diff --git a/src/security/authentication/Netmash.Security.Authentication.Identity/AuthenticationExtensions.cs b/src/security/authentication/Netmash.Security.Authentication.Tuitio/AuthenticationExtensions.cs similarity index 93% rename from src/security/authentication/Netmash.Security.Authentication.Identity/AuthenticationExtensions.cs rename to src/security/authentication/Netmash.Security.Authentication.Tuitio/AuthenticationExtensions.cs index bdf557b..b855587 100644 --- a/src/security/authentication/Netmash.Security.Authentication.Identity/AuthenticationExtensions.cs +++ b/src/security/authentication/Netmash.Security.Authentication.Tuitio/AuthenticationExtensions.cs @@ -1,10 +1,10 @@ using Tuitio.Wrapper; using Microsoft.AspNetCore.Authentication; using Microsoft.Extensions.DependencyInjection; -using Netmash.Security.Authentication.Identity.Abstractions; +using Netmash.Security.Authentication.Tuitio.Abstractions; using System; -namespace Netmash.Security.Authentication.Identity +namespace Netmash.Security.Authentication.Tuitio { public static class AuthenticationExtensions { diff --git a/src/security/authentication/Netmash.Security.Authentication.Identity/Constants/ClaimTypes.cs b/src/security/authentication/Netmash.Security.Authentication.Tuitio/Constants/ClaimTypes.cs similarity index 81% rename from src/security/authentication/Netmash.Security.Authentication.Identity/Constants/ClaimTypes.cs rename to src/security/authentication/Netmash.Security.Authentication.Tuitio/Constants/ClaimTypes.cs index 3dfebae..eb36c35 100644 --- a/src/security/authentication/Netmash.Security.Authentication.Identity/Constants/ClaimTypes.cs +++ b/src/security/authentication/Netmash.Security.Authentication.Tuitio/Constants/ClaimTypes.cs @@ -1,4 +1,4 @@ -namespace Netmash.Security.Authentication.Identity.Constants +namespace Netmash.Security.Authentication.Tuitio.Constants { public struct ClaimTypes { diff --git a/src/security/authentication/Netmash.Security.Authentication.Identity/Constants/QueryParams.cs b/src/security/authentication/Netmash.Security.Authentication.Tuitio/Constants/QueryParams.cs similarity index 62% rename from src/security/authentication/Netmash.Security.Authentication.Identity/Constants/QueryParams.cs rename to src/security/authentication/Netmash.Security.Authentication.Tuitio/Constants/QueryParams.cs index 159d346..9202ada 100644 --- a/src/security/authentication/Netmash.Security.Authentication.Identity/Constants/QueryParams.cs +++ b/src/security/authentication/Netmash.Security.Authentication.Tuitio/Constants/QueryParams.cs @@ -1,4 +1,4 @@ -namespace Netmash.Security.Authentication.Identity.Constants +namespace Netmash.Security.Authentication.Tuitio.Constants { internal struct QueryParams { diff --git a/src/security/authentication/Netmash.Security.Authentication.Identity/IdentityAuthenticationHandler.cs b/src/security/authentication/Netmash.Security.Authentication.Tuitio/IdentityAuthenticationHandler.cs similarity index 96% rename from src/security/authentication/Netmash.Security.Authentication.Identity/IdentityAuthenticationHandler.cs rename to src/security/authentication/Netmash.Security.Authentication.Tuitio/IdentityAuthenticationHandler.cs index 2cf2658..89301c4 100644 --- a/src/security/authentication/Netmash.Security.Authentication.Identity/IdentityAuthenticationHandler.cs +++ b/src/security/authentication/Netmash.Security.Authentication.Tuitio/IdentityAuthenticationHandler.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Authentication; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -using Netmash.Security.Authentication.Identity.Abstractions; +using Netmash.Security.Authentication.Tuitio.Abstractions; using System; using System.Collections.Generic; using System.Linq; @@ -11,9 +11,9 @@ using System.Text.Encodings.Web; using System.Threading.Tasks; using Tuitio.PublishedLanguage.Dto; using Tuitio.Wrapper.Services; -using c = Netmash.Security.Authentication.Identity.Constants; +using c = Netmash.Security.Authentication.Tuitio.Constants; -namespace Netmash.Security.Authentication.Identity +namespace Netmash.Security.Authentication.Tuitio { public class TuitioAuthenticationHandler : AuthenticationHandler { diff --git a/src/security/authentication/Netmash.Security.Authentication.Identity/Models/AuthenticationOptions.cs b/src/security/authentication/Netmash.Security.Authentication.Tuitio/Models/AuthenticationOptions.cs similarity index 74% rename from src/security/authentication/Netmash.Security.Authentication.Identity/Models/AuthenticationOptions.cs rename to src/security/authentication/Netmash.Security.Authentication.Tuitio/Models/AuthenticationOptions.cs index 0ecc55c..3e66eb2 100644 --- a/src/security/authentication/Netmash.Security.Authentication.Identity/Models/AuthenticationOptions.cs +++ b/src/security/authentication/Netmash.Security.Authentication.Tuitio/Models/AuthenticationOptions.cs @@ -1,8 +1,8 @@ using Microsoft.AspNetCore.Http; -using Netmash.Security.Authentication.Identity.Abstractions; +using Netmash.Security.Authentication.Tuitio.Abstractions; using System; -namespace Netmash.Security.Authentication.Identity.Models +namespace Netmash.Security.Authentication.Tuitio.Models { public class AuthenticationOptions : IAuthenticationOptions { diff --git a/src/security/authentication/Netmash.Security.Authentication.Identity/Netmash.Security.Authentication.Identity.csproj b/src/security/authentication/Netmash.Security.Authentication.Tuitio/Netmash.Security.Authentication.Tuitio.csproj similarity index 100% rename from src/security/authentication/Netmash.Security.Authentication.Identity/Netmash.Security.Authentication.Identity.csproj rename to src/security/authentication/Netmash.Security.Authentication.Tuitio/Netmash.Security.Authentication.Tuitio.csproj diff --git a/src/test/Netmash.Test.Api/Extensions/AuthenticationExtensions.cs b/src/test/Netmash.Test.Api/Extensions/AuthenticationExtensions.cs index 062d35e..2ca00a7 100644 --- a/src/test/Netmash.Test.Api/Extensions/AuthenticationExtensions.cs +++ b/src/test/Netmash.Test.Api/Extensions/AuthenticationExtensions.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; -using Netmash.Security.Authentication.Identity; -using Netmash.Security.Authentication.Identity.Models; +using Netmash.Security.Authentication.Tuitio; +using Netmash.Security.Authentication.Tuitio.Models; using System.Linq; namespace Netmash.Test.Api.Extensions diff --git a/src/test/Netmash.Test.Api/Netmash.Test.Api.csproj b/src/test/Netmash.Test.Api/Netmash.Test.Api.csproj index 489457f..0b9dc59 100644 --- a/src/test/Netmash.Test.Api/Netmash.Test.Api.csproj +++ b/src/test/Netmash.Test.Api/Netmash.Test.Api.csproj @@ -11,7 +11,7 @@ - +