// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore { /// /// Represents a claim that a user possesses. /// /// The type used for the primary key for this user that possesses this claim. public class IdentityUserClaim where TKey : IEquatable { /// /// Gets or sets the identifier for this user claim. /// public virtual int Id { get; set; } /// /// Gets or sets the of the primary key of the user associated with this claim. /// public virtual TKey UserId { get; set; } /// /// Gets or sets the claim type for this claim. /// public virtual string ClaimType { get; set; } /// /// Gets or sets the claim value for this claim. /// public virtual string ClaimValue { get; set; } } }