PasswordOptions PasswordOptions PasswordOptions Class

Definition

Specifies options for password requirements.

public class PasswordOptions
type PasswordOptions = class
Public Class PasswordOptions
Inheritance
PasswordOptionsPasswordOptionsPasswordOptions

Constructors

PasswordOptions() PasswordOptions() PasswordOptions()

Properties

RequireDigit RequireDigit RequireDigit

Gets or sets a flag indicating if passwords must contain a digit. Defaults to true.

RequiredLength RequiredLength RequiredLength

Gets or sets the minimum length a password must be. Defaults to 6.

RequiredUniqueChars RequiredUniqueChars RequiredUniqueChars

Gets or sets the minimum number of unique chars a password must comprised of. Defaults to 1.

RequireLowercase RequireLowercase RequireLowercase

Gets or sets a flag indicating if passwords must contain a lower case ASCII character. Defaults to true.

RequireNonAlphanumeric RequireNonAlphanumeric RequireNonAlphanumeric

Gets or sets a flag indicating if passwords must contain a non-alphanumeric character. Defaults to true.

RequireUppercase RequireUppercase RequireUppercase

Gets or sets a flag indicating if passwords must contain a upper case ASCII character. Defaults to true.

Applies to