Namespace Cleanup, and some fun toys in the admin portal

This commit is contained in:
dingo
2026-01-10 15:06:51 -05:00
parent ff7357c557
commit 60b882f1b9
93 changed files with 448 additions and 154 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
using Microsoft.EntityFrameworkCore;
using DataServer.Data;
namespace Server.Services.Auth;
namespace GameServices.Auth;
public sealed class AccountsRepository : IAccountsRepository
{
+1 -1
View File
@@ -3,7 +3,7 @@ using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using DataServer.Data;
namespace Server.Services.Auth;
namespace GameServices.Auth;
/// <summary>
/// Service for validating admin authentication via session tokens
+1 -1
View File
@@ -7,7 +7,7 @@ using Server.Networking;
using Server.Networking.Handling;
using Server.Networking.Messages;
namespace Server.Services.Auth;
namespace GameServices.Auth;
public sealed class AuthHandler : IClientMessageHandler
{
+1 -1
View File
@@ -5,7 +5,7 @@ using DataServer.Data;
using Server.Redis;
using StackExchange.Redis;
namespace Server.Services.Auth;
namespace GameServices.Auth;
public interface IAuthService
{
+1 -1
View File
@@ -1,6 +1,6 @@
using DataServer.Data;
namespace Server.Services.Auth;
namespace GameServices.Auth;
public interface IAccountsRepository
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Server.Services.Auth;
namespace GameServices.Auth;
public interface IPasswordHasher
{
+1 -1
View File
@@ -1,7 +1,7 @@
using System.Threading;
using System.Threading.Tasks;
namespace Server.Services.Auth;
namespace GameServices.Auth;
public interface ISessionAudit
{
+1 -1
View File
@@ -1,7 +1,7 @@
using System;
using System.Threading.Tasks;
namespace Server.Services.Auth;
namespace GameServices.Auth;
public interface ISessionRegistry
{
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Security.Cryptography;
namespace Server.Services.Auth;
namespace GameServices.Auth;
public sealed class Pbkdf2PasswordHasher : IPasswordHasher
{
+1 -1
View File
@@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using DataServer.Data;
namespace Server.Services.Auth;
namespace GameServices.Auth;
public sealed class SessionAudit : ISessionAudit
{
+1 -1
View File
@@ -1,7 +1,7 @@
using System;
using System.Collections.Concurrent;
namespace Server.Services.Auth;
namespace GameServices.Auth;
public sealed class SessionRegistry : ISessionRegistry
{