Files
the-biergarten-app/web/backend/Features/Features.Auth/Queries/Login/LoginQuery.cs
2026-06-20 15:09:40 -04:00

11 lines
359 B
C#

using Features.Auth.Dtos;
using MediatR;
namespace Features.Auth.Queries.Login;
/// <summary>
/// Authenticates a user using their username and password and issues new tokens. Bound directly
/// from the request body of <c>POST /api/auth/login</c>.
/// </summary>
public record LoginQuery(string Username, string Password) : IRequest<LoginPayload>;