source: ChapterX.Application/Auth/LoginRequest.cs@ b373fea

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

Fixes for authentication and auhtorization\

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