In old asp.net identity 2.0, there is a CreateIdentityAsync() method in type Microsoft.AspNet.Identity.UserManager. But now asp.net 5 has removed this method, how can I create a ClaimsIdentity representing the user now? Thanks in advance.
public virtual Task<ClaimsIdentity> CreateIdentityAsync(TUser user, string authenticationType);