mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-04-06 02:19:05 +00:00
Update root namespaces
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace Service.Core.Jwt;
|
||||
namespace Infrastructure.Jwt;
|
||||
|
||||
public interface IJwtService
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>Service.Core.Jwt</RootNamespace>
|
||||
<RootNamespace>Infrastructure.Jwt</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -4,7 +4,7 @@ using Microsoft.IdentityModel.JsonWebTokens;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
using JwtRegisteredClaimNames = System.IdentityModel.Tokens.Jwt.JwtRegisteredClaimNames;
|
||||
|
||||
namespace Service.Core.Jwt;
|
||||
namespace Infrastructure.Jwt;
|
||||
|
||||
public class JwtService : IJwtService
|
||||
{
|
||||
|
||||
@@ -2,9 +2,9 @@ using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using Konscious.Security.Cryptography;
|
||||
|
||||
namespace Service.Core.Password;
|
||||
namespace Infrastructure.PasswordHashing;
|
||||
|
||||
public class PasswordService : IPasswordService
|
||||
public class Argon2Infrastructure : IPasswordInfra
|
||||
{
|
||||
private const int SaltSize = 16; // 128-bit
|
||||
private const int HashSize = 32; // 256-bit
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace Service.Core.Password;
|
||||
namespace Infrastructure.PasswordHashing;
|
||||
|
||||
public interface IPasswordService
|
||||
public interface IPasswordInfra
|
||||
{
|
||||
public string Hash(string password);
|
||||
public bool Verify(string password, string stored);
|
||||
@@ -3,7 +3,7 @@
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>Service.Core.Password</RootNamespace>
|
||||
<RootNamespace>Infrastructure.PasswordHashing</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user