public void ShouldPasswordStrenghtSameOfConfiguration(BcryptSaltRevision saltRevision)
        {
            var services = new ServiceCollection();

            services.UpgradePasswordSecurity().ChangeSaltRevision(saltRevision).UseBcrypt <GenericUser>();

            var provider = services.BuildServiceProvider();
            var passwordHasherOptions = (IOptions <ImprovedPasswordHasherOptions>)provider.GetService(typeof(IOptions <ImprovedPasswordHasherOptions>));

            passwordHasherOptions.Value.SaltRevision.Should().Be(saltRevision);
        }
 /// <summary>
 /// Allows you to override the salt revision used in the output
 /// </summary>
 public IPasswordHashBuilder ChangeSaltRevision(BcryptSaltRevision saltRevision)
 {
     Options.SaltRevision = saltRevision;
     return(this);
 }