public static IdentityBuilder AddStrongPass <TUser>(this IdentityBuilder @this, Action <StrongPassOptions> optionsAction) where TUser : class
        {
            var options = new StrongPassOptions();

            optionsAction(options);

            @this.Services.AddSingleton <StrongPassOptions>(options);
            @this.AddPasswordValidator <PasswordValidator <TUser> >();

            return(@this);
        }
 public PasswordValidator(StrongPassOptions options)
 {
     _options   = options;
     _passwords = options.BuildPasswords();
 }