PasswordHasherTUserVerifyHashedPassword Method |
Returns a
PasswordVerificationResult indicating the result of a password hash comparison.
This verification will fail also in the following cases:
- User is not found in database.
- User is public.
- User is external.
- User is a domain user.
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax public PasswordVerificationResult VerifyHashedPassword(
TUser user,
string hashedPassword,
string providedPassword
)
Parameters
- user
- Type: TUser
The user whose password should be verified. - hashedPassword
- Type: SystemString
The hash value for a user's stored password. - providedPassword
- Type: SystemString
The password supplied for comparison.
Return Value
Type:
PasswordVerificationResult
A
PasswordVerificationResult indicating the result of a password hash comparison.
Implements
IPasswordHasher.VerifyHashedPassword(UTP, String, String)See Also