// Copyright (c) Umbraco.
// See LICENSE for more details.
using System.ComponentModel;
using System.Net;
namespace Umbraco.Cms.Core.Configuration.Models
{
///
/// Typed configuration options for security settings.
///
[UmbracoOptions(Constants.Configuration.ConfigBasicAuth)]
public class BasicAuthSettings
{
private const bool StaticEnabled = false;
///
/// Gets or sets a value indicating whether to keep the user logged in.
///
[DefaultValue(StaticEnabled)]
public bool Enabled { get; set; } = StaticEnabled;
public string[] AllowedIPs { get; set; } = new string[0];
}
}