Class AbstractSSOSessionStore
The single sign-on session store provides common functionality for storing single sign-on session state.
Inheritance
Implements
Inherited Members
Namespace: ComponentSpace.SAML2.Session
Assembly: ComponentSpace.Saml2.dll
Syntax
public abstract class AbstractSSOSessionStore : ISSOSessionStore
Properties
SessionID
Gets the unique SSO session identifier.
Declaration
public virtual string SessionID { get; }
Property Value
Type | Description |
---|---|
string | The unique SSO session identifier. |
Methods
CreateSessionIDForType(Type)
Creates a unique session ID for the specified type from the session ID and session object type.
Declaration
public virtual string CreateSessionIDForType(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The session object type. |
Returns
Type | Description |
---|---|
string | The unique SSO session ID for the session object type. |
Delete(Type)
Deletes the SSO session object.
Declaration
public abstract void Delete(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The SSO session object type. |
Deserialize(byte[])
Deserializes the binary data to an SSO session.
Declaration
public static object Deserialize(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
byte[] | bytes | The binary data. |
Returns
Type | Description |
---|---|
object | The SSO session. |
Load(Type)
Loads the SSO session object.
Declaration
public abstract object Load(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The SSO session object type. |
Returns
Type | Description |
---|---|
object | The SSO session object or |
Save(object)
Saves the SSO session object.
Declaration
public abstract void Save(object ssoSession)
Parameters
Type | Name | Description |
---|---|---|
object | ssoSession | The serializable SSO session object. |
Serialize(object)
Serializes the SSO session to binary data.
Declaration
public static byte[] Serialize(object ssoSession)
Parameters
Type | Name | Description |
---|---|---|
object | ssoSession | The serializable SSO session. |
Returns
Type | Description |
---|---|
byte[] | The SSO session serialized to binary data. |