removes remaining back office things from underlying UmbracoUserManager moves files
This commit is contained in:
15
src/Umbraco.Infrastructure/Security/IUserSessionStore.cs
Normal file
15
src/Umbraco.Infrastructure/Security/IUserSessionStore.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
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 IUserSessionStore<TUser> : IUserStore<TUser>
|
||||
where TUser : class
|
||||
{
|
||||
Task<bool> ValidateSessionIdAsync(string userId, string sessionId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user