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 public class JoinPayload
{ {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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