register command created

This commit is contained in:
2026-01-11 02:30:08 +01:00
Unverified
parent 65ba579704
commit 56e66a2bdd
29 changed files with 102 additions and 57 deletions

View File

@@ -0,0 +1,8 @@
namespace TimetableDesigner.Backend.Services.Authentication.DTO;
public class AuthenticatePasswordRequest
{
public string Email { get; set; } = null!;
public string Password { get; set; } = null!;
public bool RememberMe { get; set; }
}

View File

@@ -0,0 +1,7 @@
namespace TimetableDesigner.Backend.Services.Authentication.DTO;
public class AuthenticateResponse
{
public string AccessToken { get; set; } = null!;
public string RefreshToken { get; set; } = null!;
}

View File

@@ -0,0 +1,7 @@
namespace TimetableDesigner.Backend.Services.Authentication.DTO;
public class AuthenticateTokenRequest
{
public string AccessToken { get; set; } = null!;
public string RefreshToken { get; set; } = null!;
}

View File

@@ -0,0 +1,8 @@
namespace TimetableDesigner.Backend.Services.Authentication.DTO;
public class RegisterRequest
{
public string Email { get; set; } = null!;
public string Password { get; set; } = null!;
public string PasswordConfirmation { get; set; } = null!;
}

View File

@@ -0,0 +1,6 @@
namespace TimetableDesigner.Backend.Services.Authentication.DTO;
public class RegisterResponse
{
}

View File

@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>