finally implemented oauth 2.0

This commit is contained in:
2024-07-27 12:21:46 +07:00
parent d332cd0d96
commit 37146568a8
10 changed files with 260 additions and 24 deletions

View File

@ -0,0 +1,13 @@
using System.Text.Json.Serialization;
namespace Yuna.Website.Server.API.DTO
{
public class LoginRequest
{
[JsonPropertyName("password")]
public string RawPassword { get; set; } = null!;
[JsonPropertyName("username")]
public string UserName { get; set; } = null!;
}
}