Share via


PasswordHasherOptions.CompatibilityMode Property

Definition

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

public:
 property Microsoft::AspNetCore::Identity::PasswordHasherCompatibilityMode CompatibilityMode { Microsoft::AspNetCore::Identity::PasswordHasherCompatibilityMode get(); void set(Microsoft::AspNetCore::Identity::PasswordHasherCompatibilityMode value); };
public Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode CompatibilityMode { get; set; }
member this.CompatibilityMode : Microsoft.AspNetCore.Identity.PasswordHasherCompatibilityMode with get, set
Public Property CompatibilityMode As PasswordHasherCompatibilityMode

Property Value

The compatibility mode used when hashing passwords.

Remarks

The default compatibility mode is 'ASP.NET Identity version 3'.

Applies to