Class InMemoryIDCache
The in-memory ID cache stores IDs in-memory.
The in-memory ID cache is suitable for applications deployed to a single server. For applications deployed to a web farm, an ID cache implemented using a database or shared state server is required.
Implements
Inherited Members
Namespace: ComponentSpace.SAML2.Cache
Assembly: ComponentSpace.Saml2.dll
Syntax
public class InMemoryIDCache : IIDCache
Methods
Add(string, DateTime)
Adds the ID with an associated expiration time to the cache.
Declaration
public bool Add(string id, DateTime expirationDateTime)
Parameters
Type | Name | Description |
---|---|---|
string | id | The ID. |
DateTime | expirationDateTime | The expiration time. |
Returns
Type | Description |
---|---|
bool |
|