2020-03-12 14:59:24 +01:00
|
|
|
namespace BTCPayServer.Client.Models
|
|
|
|
{
|
|
|
|
public class ApplicationUserData
|
|
|
|
{
|
2020-03-13 11:47:22 +01:00
|
|
|
/// <summary>
|
|
|
|
/// the id of the user
|
|
|
|
/// </summary>
|
2020-03-12 14:59:24 +01:00
|
|
|
public string Id { get; set; }
|
2020-04-30 16:44:27 +02:00
|
|
|
|
2020-03-13 11:47:22 +01:00
|
|
|
/// <summary>
|
|
|
|
/// the email AND username of the user
|
|
|
|
/// </summary>
|
2020-03-12 14:59:24 +01:00
|
|
|
public string Email { get; set; }
|
2020-04-30 16:44:27 +02:00
|
|
|
|
2020-03-13 11:47:22 +01:00
|
|
|
/// <summary>
|
|
|
|
/// Whether the user has verified their email
|
|
|
|
/// </summary>
|
|
|
|
public bool EmailConfirmed { get; set; }
|
2020-04-30 16:44:27 +02:00
|
|
|
|
2020-03-13 11:47:22 +01:00
|
|
|
/// <summary>
|
|
|
|
/// whether the user needed to verify their email on account creation
|
|
|
|
/// </summary>
|
|
|
|
public bool RequiresEmailConfirmation { get; set; }
|
|
|
|
}
|
2020-03-12 14:59:24 +01:00
|
|
|
}
|