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 |
|---|---|
| string | The unique SSO session identifier. |
Methods
LoadAsync<T>()
Loads the SSO session object.
Declaration
Task<T> LoadAsync<T>()
Returns
| Type | Description |
|---|---|
| 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 |
|---|---|
| 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 |
|---|---|
| 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 |
|---|---|---|
| object | ssoSession | The SSO session object. |
Returns
| Type | Description |
|---|---|
| Task | A task that represents the operation. |