Skip to content

Commit 056addd

Browse files
authored
Update README.md
1 parent 4f83167 commit 056addd

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,19 @@ An implementation of IPasswordHasher<TUser> using [BCrypt.NET - next](https://gi
44

55
## Installation
66

7-
`services.AddScoped<IPasswordHasher<ApplicationUser>, BCryptPasswordHasher<ApplicationUser>>();`
7+
```
8+
services.AddScoped<IPasswordHasher<ApplicationUser>, BCryptPasswordHasher<ApplicationUser>>();
9+
```
810

911
### Options
1012

11-
- *WorkFactor*: int
12-
- *EnhancedEntropy*: bool
13+
- **WorkFactor**: int
14+
- **EnhancedEntropy**: bool
1315

1416
Register with:
15-
`services.Configure<BCryptPasswordHasherOptions>(options => {
17+
```
18+
services.Configure<BCryptPasswordHasherOptions>(options => {
1619
options.WorkFactor = 10;
1720
options.EnhancedEntropy = false;
18-
});`
21+
});
22+
```

0 commit comments

Comments
 (0)