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