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.Data
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 |
---|---|
System.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 |
---|---|---|
System.Type | type | The session object type. |
Returns
Type | Description |
---|---|
System.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 |
---|---|---|
System.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 |
---|---|---|
System.Byte[] | bytes | The binary data. |
Returns
Type | Description |
---|---|
System.Object | The SSO session. |
Load(Type)
Loads the SSO session object.
Declaration
public abstract object Load(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The SSO session object type. |
Returns
Type | Description |
---|---|
System.Object | The SSO session object or |
Save(Object)
Saves the SSO session object.
Declaration
public abstract void Save(object ssoSession)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
---|---|---|
System.Object | ssoSession | The serializable SSO session. |
Returns
Type | Description |
---|---|
System.Byte[] | The SSO session serialized to binary data. |