View Source
Interface IUserSessionStore<TUser, TKey>
An IUserStore interface part to implement if the store supports validating user session Ids
Assembly: Umbraco.Core.dll
Syntax
public interface IUserSessionStore<TUser, in TKey> : IDisposable where TUser : class, IUser<TKey>
Type Parameters
Name |
Description |
TUser |
|
TKey |
|
Methods
View Source
ValidateSessionIdAsync(Int32, String)
Declaration
Task<bool> ValidateSessionIdAsync(int userId, string sessionId)
Parameters
Type |
Name |
Description |
System.Int32 |
userId |
|
System.String |
sessionId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|