Webiant Logo Webiant Logo
  1. No results found.

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

ExternalAuthenticationSettings.cs

using Nop.Core.Configuration;

namespace Nop.Core.Domain.Customers;

/// 
/// External authentication settings
/// 
public partial class ExternalAuthenticationSettings : ISettings
{
    /// 
    /// Constructor
    /// 
    public ExternalAuthenticationSettings()
    {
        ActiveAuthenticationMethodSystemNames = new List();
    }

    /// 
    /// Gets or sets a value indicating whether email validation is required.
    /// In most cases we can skip email validation for Facebook or any other third-party external authentication plugins. I guess we can trust  Facebook for the validation.
    /// 
    public bool RequireEmailValidation { get; set; }

    /// 
    /// Gets or sets a value indicating whether need to logging errors on authentication process 
    /// 
    public bool LogErrors { get; set; }

    /// 
    /// Gets or sets a value indicating whether the user is allowed to remove external authentication associations
    /// 
    public bool AllowCustomersToRemoveAssociations { get; set; }

    /// 
    /// Gets or sets system names of active authentication methods
    /// 
    public List ActiveAuthenticationMethodSystemNames { get; set; }
}