mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
* User: Add name and image URL More personalization options, prerequisite for btcpayserver/app#3. Additionally: - Remove ambigious and read-only username from manage view. - Improve email verification conditions and display. - Greenfield: Update current user. Prerequisite for btcpayserver/app#13. * Refactor UpdateCurrentUser * Replace new columns by UserBlob * Update email check and add test case for mailbox addresses --------- Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
30 lines
860 B
C#
30 lines
860 B
C#
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class CreateApplicationUserRequest
|
|
{
|
|
/// <summary>
|
|
/// the name of the new user
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// the image url of the new user
|
|
/// </summary>
|
|
public string ImageUrl { get; set; }
|
|
|
|
/// <summary>
|
|
/// the email AND username of the new user
|
|
/// </summary>
|
|
public string Email { get; set; }
|
|
|
|
/// <summary>
|
|
/// password of the new user
|
|
/// </summary>
|
|
public string Password { get; set; }
|
|
|
|
/// <summary>
|
|
/// 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.
|
|
/// </summary>
|
|
public bool? IsAdministrator { get; set; }
|
|
}
|
|
}
|