StanfordPasswordPolicy 1.0.0

Stanford-password-policy-dotnet is a password validator library for ASP.NET Core.
The Stanford password policy is a dynamic password policy that encourages the use of easy to remember, yet secure passphrases instead of hard to remember passwords.

Install-Package StanfordPasswordPolicy -Version 1.0.0
dotnet add package StanfordPasswordPolicy --version 1.0.0
<PackageReference Include="StanfordPasswordPolicy" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StanfordPasswordPolicy --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Stanford-password-policy-dotnet Codacy Badge

Stanford-password-policy-dotnet is a password validator library for ASP.NET Core.

What is it

The Stanford password policy is a dynamic password policy that
encourages the use of easy to remember, yet secure passphrases instead of hard to remember passwords.

Installation

Using the dotnet-cli

dotnet add package StanfordPasswordPolicy

or with the nuget package manager console:

Install-Package StanfordPasswordPolicy

Usage

services.AddIdentity<AppUser, IdentityRole>(opt =>
        {
            // If you don't want Identity's defaults to interfere with your new policy
            opt.Password = StanfordPasswordValidatorBase.NoDefaultPasswordOptions;
        })
        .AddPasswordValidator<StanfordPasswordValidator<AppUser>>();

You can also check out SampleApp for a more complete example.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Apache License 2.0

Obligatory XKCD

XKCD#936

Stanford-password-policy-dotnet Codacy Badge

Stanford-password-policy-dotnet is a password validator library for ASP.NET Core.

What is it

The Stanford password policy is a dynamic password policy that
encourages the use of easy to remember, yet secure passphrases instead of hard to remember passwords.

Installation

Using the dotnet-cli

dotnet add package StanfordPasswordPolicy

or with the nuget package manager console:

Install-Package StanfordPasswordPolicy

Usage

services.AddIdentity<AppUser, IdentityRole>(opt =>
        {
            // If you don't want Identity's defaults to interfere with your new policy
            opt.Password = StanfordPasswordValidatorBase.NoDefaultPasswordOptions;
        })
        .AddPasswordValidator<StanfordPasswordValidator<AppUser>>();

You can also check out SampleApp for a more complete example.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Apache License 2.0

Obligatory XKCD

XKCD#936

Release Notes

First stable release.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 62 7/5/2019
1.0.0-beta2 55 7/5/2019
1.0.0-beta1 56 7/4/2019
1.0.0-alpha2 54 7/2/2019