50 lines
1.3 KiB
C#
50 lines
1.3 KiB
C#
namespace MotoresArgentinosV2.Core.DTOs;
|
|
|
|
public class LoginRequest
|
|
{
|
|
public string Username { get; set; } = string.Empty;
|
|
public string Password { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class MigrateRequest
|
|
{
|
|
public string Username { get; set; } = string.Empty;
|
|
public string NewPassword { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class MFARequest
|
|
{
|
|
public string Username { get; set; } = string.Empty;
|
|
public string Code { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class RegisterRequest
|
|
{
|
|
public string Username { get; set; } = string.Empty;
|
|
public string Email { get; set; } = string.Empty;
|
|
public string Password { get; set; } = string.Empty;
|
|
public string FirstName { get; set; } = string.Empty;
|
|
public string LastName { get; set; } = string.Empty;
|
|
public string PhoneNumber { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class VerifyEmailRequest
|
|
{
|
|
public string Token { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class ResendVerificationRequest
|
|
{
|
|
public string Email { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class ForgotPasswordRequest
|
|
{
|
|
public string Email { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class ResetPasswordRequest
|
|
{
|
|
public string Token { get; set; } = string.Empty;
|
|
public string NewPassword { get; set; } = string.Empty;
|
|
} |