Kavita/API/DTOs/Account/LoginDto.cs
2023-12-13 17:16:54 -08:00

12 lines
345 B
C#

namespace API.DTOs.Account;
#nullable enable
public class LoginDto
{
public string Username { get; init; } = default!;
public string Password { get; set; } = default!;
/// <summary>
/// If ApiKey is passed, will ignore username/password for validation
/// </summary>
public string? ApiKey { get; set; } = default!;
}