finally implemented oauth 2.0
This commit is contained in:
13
Yuna.Website/Yuna.Website.Server/API/DTO/LoginRequest.cs
Normal file
13
Yuna.Website/Yuna.Website.Server/API/DTO/LoginRequest.cs
Normal 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!;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user