Click or drag to resize
PasswordHasherTUser Class
Provides methods for hashing passwords.
Inheritance Hierarchy
SystemObject
  Kentico.MembershipPasswordHasherTUser

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
public class PasswordHasher<TUser> : IPasswordHasher<TUser>
where TUser : ApplicationUser

Type Parameters

TUser
The type of the user.

The PasswordHasherTUser type exposes the following members.

Constructors
Methods
  NameDescription
Public methodHashPassword
Returns a hashed representation of the supplied password for the specified user.
Public methodVerifyHashedPassword
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.

Top
See Also

Reference

IPasswordHasher