A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class SecurityCacheElement

SecurityCacheElement

Inheritance
System.Object
SecurityCacheElement
Namespace: Mediachase.Commerce.Security.Configuration
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class SecurityCacheElement : ConfigurationElement

Constructors

SecurityCacheElement()

Initializes a new instance of the SecurityCacheElement class.

Declaration
public SecurityCacheElement()

Properties

IsEnabled

Attribute determines whether in-memory caching is enabled or not.

Declaration
public bool IsEnabled { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is enabled; otherwise, false.

UserCollectionTimeout

Gets or sets the user collection timeout.

Declaration
public TimeSpan UserCollectionTimeout { get; set; }
Property Value
Type Description
System.TimeSpan

The user collection timeout.

UserTimeout

Configuration attribute which determines when the User value is automatically refreshed in memory.

Declaration
public TimeSpan UserTimeout { get; set; }
Property Value
Type Description
System.TimeSpan

The catalog entry timeout.

Methods

IsReadOnly()

Gets a value indicating whether the System.Configuration.ConfigurationElement object is read-only.

Declaration
public override bool IsReadOnly()
Returns
Type Description
System.Boolean

true if the System.Configuration.ConfigurationElement object is read-only; otherwise, false.