tidy things up by moving payloads and responses into their own namespaces

This commit is contained in:
Elijah R 2024-04-05 09:16:48 -04:00
parent f262646dba
commit 788d11f39a
16 changed files with 17 additions and 15 deletions

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
public class JoinPayload
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
public class LoginPayload
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
public class LogoutPayload
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
public class RegisterPayload
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
public class SessionPayload
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
public class UpdatePayload
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
public class VerifyPayload
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
public class AuthServerInformation
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
public class JoinResponse
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
public class LoginResponse
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
public class LogoutResponse
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
public class RegisterResponse
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
public class SessionResponse
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
public class UpdateResponse
{

View file

@ -1,4 +1,4 @@
namespace Computernewb.CollabVMAuthServer;
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
public class VerifyResponse
{

View file

@ -2,6 +2,8 @@ using System.ComponentModel.DataAnnotations;
using System.Net;
using System.Text.Json;
using System.Text.Json.Serialization;
using Computernewb.CollabVMAuthServer.HTTP.Payloads;
using Computernewb.CollabVMAuthServer.HTTP.Responses;
using Isopoh.Cryptography.Argon2;
using Microsoft.AspNetCore.Http.HttpResults;