using System.ComponentModel.DataAnnotations; namespace Connected.Security.Authentication { /// /// Represents a basic authentication arguments which are based on the user and password. /// public sealed class BasicAuthenticationArgs : AuthenticationArgs { /// /// The user's identity. It can contain login name, email or authentication token. /// [Required] [MaxLength(128)] public string User { get; init; } /// /// The user's password. /// [Required] [MaxLength(128)] public string Password { get; init; } } }