2022-09-10 00:33:17 +03:00
|
|
|
using Microsoft.AspNetCore.Identity;
|
2022-09-12 17:57:37 +03:00
|
|
|
using MapTo;
|
2022-09-10 00:33:17 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
namespace BlueWest.WebApi.Context.Users
|
2022-09-10 00:33:17 +03:00
|
|
|
{
|
2022-09-12 17:57:37 +03:00
|
|
|
[MapFrom(typeof(ApplicationUserClaimUnique))]
|
2022-09-11 01:22:04 +03:00
|
|
|
|
|
|
|
/// <inheritdoc />
|
2022-09-12 17:57:37 +03:00
|
|
|
public partial class ApplicationUserClaim : IdentityUserClaim<string>
|
|
|
|
{
|
|
|
|
/// <inheritdoc />
|
|
|
|
public sealed override int Id { get; set; }
|
|
|
|
|
|
|
|
#region User
|
|
|
|
/// <inheritdoc />
|
|
|
|
public sealed override string UserId { get; set; }
|
2022-09-11 20:45:26 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
/// <summary>
|
|
|
|
/// Application User entity
|
|
|
|
/// </summary>
|
|
|
|
public ApplicationUser ApplicationUser { get; set; }
|
2022-09-11 20:45:26 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
#endregion
|
2022-09-11 20:45:26 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
/// <inheritdoc />
|
|
|
|
public sealed override string ClaimType { get; set; }
|
2022-09-11 01:22:04 +03:00
|
|
|
|
2022-09-12 17:57:37 +03:00
|
|
|
/// <inheritdoc />
|
|
|
|
public sealed override string ClaimValue { get; set; }
|
2022-09-11 01:22:04 +03:00
|
|
|
|
|
|
|
}
|
2022-09-12 17:57:37 +03:00
|
|
|
}
|