using System.Collections.Generic;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.AspNet.Identity
{
///
/// Stores user specific claims
///
///
public interface IUserClaimStore : IUserStore where TUser : class
{
///
/// Returns the claims for the user with the issuer set
///
///
///
///
Task> GetClaims(TUser user, CancellationToken cancellationToken = default(CancellationToken));
///
/// Add a new user claim
///
///
///
///
///
Task AddClaim(TUser user, Claim claim, CancellationToken cancellationToken = default(CancellationToken));
///
/// Remove a user claim
///
///
///
///
///
Task RemoveClaim(TUser user, Claim claim, CancellationToken cancellationToken = default(CancellationToken));
}
}