Interface IUserSessionStore<TUser>
An IUserStore interface part to implement if the store supports validating user session Ids
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IUserSessionStore<TUser>
where TUser : class
Type Parameters
Name | Description |
---|---|
TUser | The user type |
Methods
View SourceValidateSessionIdAsync(String, String)
Validates a user's session is still valid
Declaration
Task<bool> ValidateSessionIdAsync(string userId, string sessionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | userId | |
System.String | sessionId |
Returns
Type | Description |
---|---|
Task<System.Boolean> |