aspnetcore/src/Microsoft.AspNet.Identity/PasswordVerificationResult.cs

26 lines
707 B
C#

// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Identity
{
/// <summary>
/// Return result for IPasswordHasher
/// </summary>
public enum PasswordVerificationResult
{
/// <summary>
/// Password verification failed
/// </summary>
Failed = 0,
/// <summary>
/// Success
/// </summary>
Success = 1,
/// <summary>
/// Success but should update and rehash the password
/// </summary>
SuccessRehashNeeded = 2
}
}