aspnetcore/src/Core/PasswordHasherCompatibility...

21 lines
704 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
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
}
}