PasswordHasher.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

public virtual PasswordVerificationResult VerifyHashedPassword(
    string hashedPassword,
    string providedPassword
)
public:
virtual PasswordVerificationResult VerifyHashedPassword(
    String^ hashedPassword,
    String^ providedPassword
)
abstract VerifyHashedPassword : 
        hashedPassword:string *
        providedPassword:string -> PasswordVerificationResult
override VerifyHashedPassword : 
        hashedPassword:string *
        providedPassword:string -> PasswordVerificationResult
Public Overridable Function VerifyHashedPassword (
    hashedPassword As String,
    providedPassword As String
) As PasswordVerificationResult

Parameters

Return Value

Type: Microsoft.AspNet.Identity.PasswordVerificationResult

The result of the verification.

Implements

IPasswordHasher.VerifyHashedPassword(String, String)

See Also

PasswordHasher Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top