PasswordHasherOptions Class

Definition

Specifies options for password hashing.

C#
public class PasswordHasherOptions
Inheritance
PasswordHasherOptions

Constructors

Properties

CompatibilityMode

Gets or sets the compatibility mode used when hashing passwords. Defaults to 'ASP.NET Identity version 3'.

IterationCount

Gets or sets the number of iterations used when hashing passwords using PBKDF2. Default is 100,000.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0