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 |
|---|---|---|
| string | userId | |
| string | sessionId |
Returns
| Type | Description |
|---|---|
| Task<bool> |