forked from collabvm/CollabVMAuthServer
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
|
public class JoinPayload
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
|
||||||
|
|
||||||
public class LoginPayload
|
public class LoginPayload
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
|
||||||
|
|
||||||
public class LogoutPayload
|
public class LogoutPayload
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
|
||||||
|
|
||||||
public class RegisterPayload
|
public class RegisterPayload
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
|
||||||
|
|
||||||
public class SessionPayload
|
public class SessionPayload
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
|
||||||
|
|
||||||
public class UpdatePayload
|
public class UpdatePayload
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Payloads;
|
||||||
|
|
||||||
public class VerifyPayload
|
public class VerifyPayload
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||||
|
|
||||||
public class AuthServerInformation
|
public class AuthServerInformation
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||||
|
|
||||||
public class JoinResponse
|
public class JoinResponse
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||||
|
|
||||||
public class LoginResponse
|
public class LoginResponse
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||||
|
|
||||||
public class LogoutResponse
|
public class LogoutResponse
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||||
|
|
||||||
public class RegisterResponse
|
public class RegisterResponse
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||||
|
|
||||||
public class SessionResponse
|
public class SessionResponse
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||||
|
|
||||||
public class UpdateResponse
|
public class UpdateResponse
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Computernewb.CollabVMAuthServer;
|
namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
|
||||||
|
|
||||||
public class VerifyResponse
|
public class VerifyResponse
|
||||||
{
|
{
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue