// Copyright (c) Umbraco.
// See LICENSE for more details.
namespace Umbraco.Cms.Core.Configuration;
/// <summary>
/// Password configuration
/// </summary>
public interface IPasswordConfiguration
{
/// Gets a value for the minimum required length for the password.
int RequiredLength { get; }
/// Gets a value indicating whether at least one non-letter or digit is required for the password.
bool RequireNonLetterOrDigit { get; }
/// Gets a value indicating whether at least one digit is required for the password.
bool RequireDigit { get; }
/// Gets a value indicating whether at least one lower-case character is required for the password.
bool RequireLowercase { get; }
/// Gets a value indicating whether at least one upper-case character is required for the password.
bool RequireUppercase { get; }
/// Gets a value for the password hash algorithm type.
string HashAlgorithmType { get; }
/// Gets a value for the maximum failed access attempts before lockout.
/// <remarks>
/// TODO: This doesn't really belong here
/// </remarks>
int MaxFailedAccessAttemptsBeforeLockout { get; }
}