using System; using System.Security.Claims; using System.Threading; using System.Threading.Tasks; namespace Microsoft.AspNet.Identity { /// /// Interface for creating a ClaimsIdentity from an user /// /// public interface IClaimsIdentityFactory where TUser : class { /// /// Create a ClaimsIdentity from an user using a UserManager /// /// /// /// /// /// Task CreateAsync(UserManager manager, TUser user, string authenticationType, CancellationToken cancellationToken = default(CancellationToken)); } }