feat(AuthController): Aktualisiert, um die Anmeldung über die Benutzer-ID zu ermöglichen.

This commit is contained in:
Developer 02
2025-03-10 16:58:34 +01:00
parent a69e13c2ab
commit 85ccc52ca1
2 changed files with 37 additions and 12 deletions

View File

@@ -0,0 +1,6 @@
namespace DigitalData.Auth.API.Dto;
public record UserLogin(string Password, int? Id = null, string? Username = null)
{
public bool Valid => Id is not null || !string.IsNullOrWhiteSpace(Username);
};