Files
Umbraco-CMS/src/Umbraco.Web/Security/IUserSessionStore.cs

16 lines
504 B
C#
Raw Normal View History

2018-03-21 09:06:32 +01:00
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
2018-03-21 09:06:32 +01:00
namespace Umbraco.Core.Security
{
/// <summary>
/// An IUserStore interface part to implement if the store supports validating user session Ids
/// </summary>
/// <typeparam name="TUser"></typeparam>
public interface IUserSessionStore2<TUser> : IUserStore<TUser>
2020-03-09 16:01:57 +00:00
where TUser : class
{
Task<bool> ValidateSessionIdAsync(string userId, string sessionId); // TODO: SB: Should take a user???
2020-03-09 16:01:57 +00:00
}
}