PasswordVerificationResult Enum¶
Specifies the results for password verification.
- Namespace
Microsoft.AspNetCore.Identity
- Assemblies
- Microsoft.AspNetCore.Identity
Syntax¶
public enum PasswordVerificationResult
-
enum
Microsoft.AspNetCore.Identity.
PasswordVerificationResult
Fields¶
-
Failed
()¶ Indicates password verification failed.
Return type: Microsoft.AspNetCore.Identity.PasswordVerificationResult Failed = 0
-
Success
()¶ Indicates password verification was successful.
Return type: Microsoft.AspNetCore.Identity.PasswordVerificationResult Success = 1
-
SuccessRehashNeeded
()¶ Indicates password verification was successful however the password was encoded using a deprecated algorithm and should be rehashed and updated.
Return type: Microsoft.AspNetCore.Identity.PasswordVerificationResult SuccessRehashNeeded = 2
-