tidy things up by moving payloads and responses into their own namespaces
This commit is contained in:
parent
f262646dba
commit
788d11f39a
16 changed files with 17 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
|
||||
|
||||
public class JoinPayload
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
|
||||
|
||||
public class LoginPayload
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
|
||||
|
||||
public class LogoutPayload
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
|
||||
|
||||
public class RegisterPayload
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
|
||||
|
||||
public class SessionPayload
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
|
||||
|
||||
public class UpdatePayload
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
|
||||
|
||||
public class VerifyPayload
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||
|
||||
public class AuthServerInformation
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||
|
||||
public class JoinResponse
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||
|
||||
public class LoginResponse
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||
|
||||
public class LogoutResponse
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||
|
||||
public class RegisterResponse
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||
|
||||
public class SessionResponse
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||
|
||||
public class UpdateResponse
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Computernewb.CollabVMAuthServer;
|
||||
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||
|
||||
public class VerifyResponse
|
||||
{
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue