// 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 { /// /// Specifies the results for password verification. /// public enum PasswordVerificationResult { /// /// Indicates password verification failed. /// Failed = 0, /// /// Indicates password verification was successful. /// Success = 1, /// /// Indicates password verification was successful however the password was encoded using a deprecated algorithm /// and should be rehashed and updated. /// SuccessRehashNeeded = 2 } }