source: ChapterX.Application/Auth/LoginRequest.cs@ 3ae4bab

main
Last change on this file since 3ae4bab was b373fea, checked in by kikisrbinoska <srbinoskakristina07@…>, 13 days ago

Fixes for authentication and auhtorization\

  • Property mode set to 100644
File size: 280 bytes
RevLine 
[e294f7d]1using MediatR;
[b373fea]2using System.ComponentModel.DataAnnotations;
[e294f7d]3
4namespace ChapterX.Application.Auth
5{
[b373fea]6 public record LoginRequest(
7 [Required][EmailAddress][MaxLength(200)] string Email,
8 [Required][MaxLength(128)] string Password
9 ) : IRequest<LoginResponse>;
[e294f7d]10}
Note: See TracBrowser for help on using the repository browser.