Init Git
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using AMREZ.EOP.Domain.Entities.Common;
|
||||
using AMREZ.EOP.Domain.Shared._Users;
|
||||
|
||||
namespace AMREZ.EOP.Domain.Entities.Authentications;
|
||||
|
||||
public sealed class UserExternalAccount : BaseEntity
|
||||
{
|
||||
public Guid TenantId { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
|
||||
public ExternalProvider Provider { get; set; }
|
||||
public string Subject { get; set; } = default!; // provider UID/sub
|
||||
public string? Email { get; set; }
|
||||
public DateTimeOffset LinkedAt { get; set; } = DateTimeOffset.UtcNow;
|
||||
|
||||
public User User { get; set; } = default!;
|
||||
}
|
||||
Reference in New Issue
Block a user