Interface ISessionStore
The OpenID session store.
Namespace: ComponentSpace.OpenID.Session
Assembly: ComponentSpace.OpenID.dll
Syntax
public interface ISessionStore
Properties
SessionID
Gets or sets the unique session identifier.
Declaration
string SessionID { get; set; }
Property Value
Type | Description |
---|---|
System.String | The unique session identifier. |
Methods
LoadAsync<T>()
Loads the session object.
Declaration
Task<T> LoadAsync<T>()
Returns
Type | Description |
---|---|
Task<T> | A task that represents the operation and returns the session object or |
Type Parameters
Name | Description |
---|---|
T |
RefreshAsync<T>()
Refreshes the session object so the sliding expiration is reset.
Declaration
Task RefreshAsync<T>()
Returns
Type | Description |
---|---|
Task | A task that represents the operation. |
Type Parameters
Name | Description |
---|---|
T |
RemoveAsync<T>()
Removes the session object.
Declaration
Task RemoveAsync<T>()
Returns
Type | Description |
---|---|
Task | A task that represents the operation. |
Type Parameters
Name | Description |
---|---|
T |
SaveAsync(Object)
Saves the session object.
Declaration
Task SaveAsync(object ssoSession)
Parameters
Type | Name | Description |
---|---|---|
System.Object | ssoSession | The session object. |
Returns
Type | Description |
---|---|
Task | A task that represents the operation. |