mirror of
https://github.com/bitwarden/mobile
synced 2026-01-05 10:03:26 +00:00
Password generator policy enforcement (#741)
* Password generator policy enforcement * Formatting * Changed to simple cast (double unboxing for int64/long) * Added ui indication of active policy on password generator page and fixed issue with switch enable logic
This commit is contained in:
13
src/Core/Models/Domain/PasswordGeneratorPolicyOptions.cs
Normal file
13
src/Core/Models/Domain/PasswordGeneratorPolicyOptions.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace Bit.Core.Models.Domain
|
||||
{
|
||||
public class PasswordGeneratorPolicyOptions
|
||||
{
|
||||
public int MinLength { get; set; }
|
||||
public bool UseUppercase { get; set; }
|
||||
public bool UseLowercase { get; set; }
|
||||
public bool UseNumbers { get; set; }
|
||||
public int NumberCount { get; set; }
|
||||
public bool UseSpecial { get; set; }
|
||||
public int SpecialCount { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user