Table of Contents

Class PasswordPolicySettings

Namespace
KadicAuth.Application.Common
Assembly
KadicAuth.Application.dll

Configures password complexity requirements for user accounts. Mapped from the "PasswordPolicy" section in appsettings.

public sealed class PasswordPolicySettings
Inheritance
object
PasswordPolicySettings

Fields

SectionName

public const string SectionName = "PasswordPolicy"

Field Value

string

Properties

MinLength

public int MinLength { get; set; }

Property Value

int

RequireDigit

public bool RequireDigit { get; set; }

Property Value

bool

RequireLowercase

public bool RequireLowercase { get; set; }

Property Value

bool

RequireSpecialChar

public bool RequireSpecialChar { get; set; }

Property Value

bool

RequireUppercase

public bool RequireUppercase { get; set; }

Property Value

bool