Skip to content

IdentityPasswordGenerator is a library for generating passwords based on ASP.NET Core Identity password options.

License

Notifications You must be signed in to change notification settings

peterbozso/IdentityPasswordGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IdentityPasswordGenerator

IdentityPasswordGenerator is a library for generating passwords based on ASP.NET Core Identity password options.

Usage

Get the package from NuGet.

Then in your code:

using IdentityPasswordGenerator;
using Microsoft.AspNetCore.Identity;

var passwordGenerator = new PasswordGenerator();
var options = new PasswordOptions();
var password = passwordGenerator.GeneratePassword(options);

See IPasswordGenerator for more details.

Credits

The idea of this library is coming from this Stack Overflow answer.

About

IdentityPasswordGenerator is a library for generating passwords based on ASP.NET Core Identity password options.

Topics

Resources

License

Stars

Watchers

Forks

Languages