Commit 056addd 1 parent 4f83167 commit 056addd Copy full SHA for 056addd
File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -4,15 +4,19 @@ An implementation of IPasswordHasher<TUser> using [BCrypt.NET - next](https://gi
4
4
5
5
## Installation
6
6
7
- ` services.AddScoped<IPasswordHasher<ApplicationUser>, BCryptPasswordHasher<ApplicationUser>>(); `
7
+ ```
8
+ services.AddScoped<IPasswordHasher<ApplicationUser>, BCryptPasswordHasher<ApplicationUser>>();
9
+ ```
8
10
9
11
### Options
10
12
11
- - * WorkFactor* : int
12
- - * EnhancedEntropy* : bool
13
+ - ** WorkFactor* * : int
14
+ - ** EnhancedEntropy* * : bool
13
15
14
16
Register with:
15
- `services.Configure<BCryptPasswordHasherOptions >(options => {
17
+ ```
18
+ services.Configure<BCryptPasswordHasherOptions>(options => {
16
19
options.WorkFactor = 10;
17
20
options.EnhancedEntropy = false;
18
- });`
21
+ });
22
+ ```
You can’t perform that action at this time.
0 commit comments