IPasswordHasher.VerifyHashedPassword Method (String, String)
Verifies that a password matches the hashed password.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
PasswordVerificationResult VerifyHashedPassword(
string hashedPassword,
string providedPassword
)
PasswordVerificationResult VerifyHashedPassword(
String^ hashedPassword,
String^ providedPassword
)
abstract VerifyHashedPassword :
hashedPassword:string *
providedPassword:string -> PasswordVerificationResult
Function VerifyHashedPassword (
hashedPassword As String,
providedPassword As String
) As PasswordVerificationResult
Parameters
hashedPassword
Type: System.StringThe hashed password.
providedPassword
Type: System.StringThe provided password.
Return Value
Type: Microsoft.AspNet.Identity.PasswordVerificationResult
The result of the verification.
See Also
IPasswordHasher Interface
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top