13 lines
228 B
C#
13 lines
228 B
C#
|
namespace JWTdemo.Models;
|
|||
|
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
|||
|
|
|||
|
public class AuthenticateRequest
|
|||
|
{
|
|||
|
[Required]
|
|||
|
public string? Username { get; set; }
|
|||
|
|
|||
|
[Required]
|
|||
|
public string? Password { get; set; }
|
|||
|
}
|