File: PasswordHasherCompatibilityMode.cs
Web Access
Project: src\src\Identity\Extensions.Core\src\Microsoft.Extensions.Identity.Core.csproj (Microsoft.Extensions.Identity.Core)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Identity;
 
/// <summary>
/// Specifies the format used for hashing passwords.
/// </summary>
public enum PasswordHasherCompatibilityMode
{
    /// <summary>
    /// Indicates hashing passwords in a way that is compatible with ASP.NET Identity versions 1 and 2.
    /// </summary>
    IdentityV2,
 
    /// <summary>
    /// Indicates hashing passwords in a way that is compatible with ASP.NET Identity version 3.
    /// </summary>
    IdentityV3
}