list of authorities, changing authority auth data
This commit is contained in:
		| @@ -0,0 +1,16 @@ | ||||
| using System.ComponentModel.DataAnnotations; | ||||
| using Domains; | ||||
|  | ||||
| namespace ApplicationLayer.Services.Users.Models | ||||
| { | ||||
|     /// Auth data with nullable password for making change auth data requests | ||||
|     public class ChangeAuthData | ||||
|     { | ||||
|         [Required] | ||||
|         [MaxLength(ConfigurationConstraints.EmailLength)] | ||||
|         public string Email { get; set; } = null!; | ||||
|  | ||||
|         [MaxLength(ConfigurationConstraints.PasswordLength)] | ||||
|         public string? Password { get; set; } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user