// Copyright (c) Umbraco.
// See LICENSE for more details.
namespace Umbraco.Cms.Core.Configuration.Models
{
///
/// Typed configuration options for security settings.
///
public class SecuritySettings
{
///
/// Gets or sets a value indicating whether to keep the user logged in.
///
public bool KeepUserLoggedIn { get; set; } = false;
///
/// Gets or sets a value indicating whether to hide disabled users in the back-office.
///
public bool HideDisabledUsersInBackOffice { get; set; } = false;
///
/// Gets or sets a value indicating whether to allow user password reset.
///
public bool AllowPasswordReset { get; set; } = true;
///
/// Gets or sets a value for the authorization cookie name.
///
public string AuthCookieName { get; set; } = "UMB_UCONTEXT";
///
/// Gets or sets a value for the authorization cookie domain.
///
public string AuthCookieDomain { get; set; }
///
/// Gets or sets a value indicating whether the user's email address is to be considered as their username.
///
public bool UsernameIsEmail { get; set; } = true;
///
/// Gets or sets a value for the user password settings.
///
public UserPasswordConfigurationSettings UserPassword { get; set; }
///
/// Gets or sets a value for the member password settings.
///
public MemberPasswordConfigurationSettings MemberPassword { get; set; }
}
}