Files
xPushService/Models/XHubUserInfo.cs
T

34 lines
1.3 KiB
C#

using xModels.Base;
using xIdentityModels.Constants;
using System;
using System.Collections.Generic;
namespace xPushService.Models
{
public class XHubUserInfo : XBaseDto
{
//
#region Properties ...
public string UserId { get; set; }
public string UserName { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Picture { get; set; }
public string Email { get; set; }
public string PhoneNumber { get; set; }
public XGender Gender { get; set; }
public bool IsBanned { get; set; }
public bool IsEnabled { get; set; }
public bool EmailConfirmed { get; set; }
public bool PhoneNumberConfirmed { get; set; }
public long? ExpiredOn { get; set; }
public long? AuthenticatedOn { get; set; }
public DateTime? BrithDate { get; set; }
public IEnumerable<string> Issuers { get; set; } = new HashSet<string>();
public IEnumerable<string> Audiences { get; set; } = new HashSet<string>();
public IEnumerable<string> ClientIds { get; set; } = new HashSet<string>();
public IEnumerable<string> Scopes { get; set; } = new HashSet<string>();
public IEnumerable<string> Roles { get; set; } = new HashSet<string>();
#endregion
}
}