Files
Umbraco-CMS/src/Umbraco.Infrastructure/BackOffice/IUserSessionStore.cs

16 lines
470 B
C#

using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace Umbraco.Core.BackOffice
{
/// <summary>
/// An IUserStore interface part to implement if the store supports validating user session Ids
/// </summary>
/// <typeparam name="TUser"></typeparam>
public interface IUserSessionStore<TUser> : IUserStore<TUser>
where TUser : class
{
Task<bool> ValidateSessionIdAsync(string userId, string sessionId);
}
}