22 lines
555 B
C#
22 lines
555 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OnProfNext.Shared.Models
|
|
{
|
|
public class LoginRequest
|
|
{
|
|
public string Username { get; set; } = string.Empty;
|
|
public string Password { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class LoginResponse
|
|
{
|
|
public string Token { get; set; } = string.Empty;
|
|
public string Username { get; set; } = string.Empty;
|
|
public DateTime ExpiresAt { get; set; }
|
|
}
|
|
}
|