Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterbozso/identitypasswordgenerator
IdentityPasswordGenerator is a library for generating passwords based on ASP.NET Core Identity password options.
https://github.com/peterbozso/identitypasswordgenerator
aspnetcore identity password
Last synced: 18 days ago
JSON representation
IdentityPasswordGenerator is a library for generating passwords based on ASP.NET Core Identity password options.
- Host: GitHub
- URL: https://github.com/peterbozso/identitypasswordgenerator
- Owner: peterbozso
- License: mit
- Created: 2021-12-29T19:03:19.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-28T00:01:25.000Z (almost 2 years ago)
- Last Synced: 2024-11-17T05:51:43.383Z (about 2 months ago)
- Topics: aspnetcore, identity, password
- Language: C#
- Homepage:
- Size: 31.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IdentityPasswordGenerator
IdentityPasswordGenerator is a library for generating passwords based on ASP.NET Core Identity password options.
## Usage
Get the package from [NuGet.](https://www.nuget.org/packages/IdentityPasswordGenerator/)
Then in your code:
```csharp
using IdentityPasswordGenerator;
using Microsoft.AspNetCore.Identity;var passwordGenerator = new PasswordGenerator();
var options = new PasswordOptions();
var password = passwordGenerator.GeneratePassword(options);
```See [IPasswordGenerator](src/IdentityPasswordGenerator/IPasswordGenerator.cs) for more details.
## Credits
The idea of this library is coming from [this Stack Overflow answer.](https://stackoverflow.com/a/46229180/3078296)