namespace BTCPayServer.Client.Models
{
public class ApplicationUserData
{
///
/// the id of the user
///
public string Id { get; set; }
///
/// the email AND username of the user
///
public string Email { get; set; }
///
/// Whether the user has verified their email
///
public bool EmailConfirmed { get; set; }
///
/// whether the user needed to verify their email on account creation
///
public bool RequiresEmailConfirmation { get; set; }
}
public class CreateApplicationUserRequest
{
///
/// the email AND username of the new user
///
public string Email { get; set; }
///
/// password of the new user
///
public string Password { get; set; }
///
/// Whether this user is an administrator. If left null and there are no admins in the system, the user will be created as an admin.
///
public bool? IsAdministrator { get; set; }
}
}