Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

SecuritySettingsChangedEvent.cs

namespace Nop.Core.Domain.Security;

/// 
/// Security setting changed event
/// 
public partial class SecuritySettingsChangedEvent
{
    #region Ctor

    /// 
    /// Initialize a new instance of the SecuritySettingsChangedEvent
    /// 
    /// Security settings
    /// Previous encryption key value
    public SecuritySettingsChangedEvent(SecuritySettings securitySettings, string oldEncryptionPrivateKey)
    {
        SecuritySettings = securitySettings;
        OldEncryptionPrivateKey = oldEncryptionPrivateKey;
    }

    #endregion

    #region Properties

    /// 
    /// Security settings
    /// 
    public SecuritySettings SecuritySettings { get; set; }

    /// 
    /// Previous encryption key value
    /// 
    public string OldEncryptionPrivateKey { get; set; }

    #endregion
}