Namespace Cleanup, and some fun toys in the admin portal
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using DataServer.Data;
|
||||
|
||||
namespace Server.Services.Auth;
|
||||
namespace GameServices.Auth;
|
||||
|
||||
public sealed class AccountsRepository : IAccountsRepository
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ using DataServer.Data;
|
||||
using Server.Redis;
|
||||
using StackExchange.Redis;
|
||||
|
||||
namespace Server.Services.Auth;
|
||||
namespace GameServices.Auth;
|
||||
|
||||
public interface IAuthService
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using DataServer.Data;
|
||||
|
||||
namespace Server.Services.Auth;
|
||||
namespace GameServices.Auth;
|
||||
|
||||
public interface IAccountsRepository
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Server.Services.Auth;
|
||||
namespace GameServices.Auth;
|
||||
|
||||
public interface IPasswordHasher
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Server.Services.Auth;
|
||||
namespace GameServices.Auth;
|
||||
|
||||
public interface ISessionAudit
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Server.Services.Auth;
|
||||
namespace GameServices.Auth;
|
||||
|
||||
public interface ISessionRegistry
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace Server.Services.Auth;
|
||||
namespace GameServices.Auth;
|
||||
|
||||
public sealed class Pbkdf2PasswordHasher : IPasswordHasher
|
||||
{
|
||||
|
||||
@@ -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,7 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
|
||||
namespace Server.Services.Auth;
|
||||
namespace GameServices.Auth;
|
||||
|
||||
public sealed class SessionRegistry : ISessionRegistry
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user