PasswordHasherCompatibilityMode Enum

Specifies the format used for hashing passwords.

Namespace
Microsoft.AspNetCore.Identity
Assemblies
  • Microsoft.AspNetCore.Identity

Syntax

public enum PasswordHasherCompatibilityMode
enum Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode

Fields

IdentityV2()

Indicates hashing passwords in a way that is compatible with ASP.NET Identity versions 1 and 2.

Return type:Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode
IdentityV2 = 0
IdentityV3()

Indicates hashing passwords in a way that is compatible with ASP.NET Identity version 3.

Return type:Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode
IdentityV3 = 1