Class SecurityOptions
Contains options for the security system.
Inheritance
System.Object
SecurityOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Security
Assembly: Mediachase.Commerce.dll
Version: 13.30.0Syntax
public class SecurityOptions
Constructors
SecurityOptions()
Declaration
public SecurityOptions()
Properties
UseCache
Indicates if the cache is enabled.
Declaration
public bool UseCache { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Default value is true.
UserCacheExpiration
The expiration time for user entity in the cache.
Declaration
public TimeSpan UserCacheExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 10 minutes.
UserCollectionCacheExpiration
The expiration time for user collection entity in the cache.
Declaration
public TimeSpan UserCollectionCacheExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 10 minutes.