using System; using System.Threading.Tasks; using Microsoft.AspNet.Identity; namespace Umbraco.Core.Security { /// /// An IUserStore interface part to implement if the store supports validating user session Ids /// /// /// public interface IUserSessionStore : IUserStore, IDisposable where TUser : class, IUser { Task ValidateSessionIdAsync(int userId, string sessionId); } public interface IUserSessionStore2 : Microsoft.AspNetCore.Identity.IUserStore, IDisposable where TUser : class { Task ValidateSessionIdAsync(int userId, string sessionId); } }