IPasswordHasher<TUser> IPasswordHasher<TUser> IPasswordHasher<TUser> Interface

Definition

Provides an abstraction for hashing passwords.

public interface IPasswordHasher<TUser> where TUser : class
type IPasswordHasher<'User (requires 'User : null)> = interface
Public Interface IPasswordHasher(Of TUser)

Type Parameters

TUser

The type used to represent a user.

Derived

Methods

HashPassword(TUser, String) HashPassword(TUser, String) HashPassword(TUser, String)

Returns a hashed representation of the supplied password for the specified user.

VerifyHashedPassword(TUser, String, String) VerifyHashedPassword(TUser, String, String) VerifyHashedPassword(TUser, String, String)

Returns a PasswordVerificationResult indicating the result of a password hash comparison.

Applies to