Table of Contents

Interface ISsoSessionStore

Namespace
ComponentSpace.Saml2.Session
Assembly
ComponentSpace.Saml2.dll

The single sign-on session store.

public interface ISsoSessionStore

Properties

SessionID

Gets the unique SSO session identifier.

string SessionID { get; }

Property Value

string

The unique SSO session identifier.

Methods

LoadAsync<T>()

Loads the SSO session object.

Task<T> LoadAsync<T>()

Returns

Task<T>

A task that represents the operation and returns the SSO session object or null if none.

Type Parameters

T

RefreshAsync<T>()

Refreshes the SSO session object so the sliding expiration is reset.

Task RefreshAsync<T>()

Returns

Task

A task that represents the operation.

Type Parameters

T

RemoveAsync<T>()

Removes the SSO session object.

Task RemoveAsync<T>()

Returns

Task

A task that represents the operation.

Type Parameters

T

SaveAsync(object)

Saves the SSO session object.

Task SaveAsync(object ssoSession)

Parameters

ssoSession object

The SSO session object.

Returns

Task

A task that represents the operation.