London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class SecurityCacheElement

SecurityCacheElement

Inheritance
System.Object
SecurityCacheElement
Namespace: Mediachase.Commerce.Security.Configuration
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
[Obsolete("This setting is no longer used, Use SecurityOptions instead. Will remain at least until July 2021")]
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.