IPasswordHasher<TUser> Rozhraní

Definice

Poskytuje abstrakci pro hashování hesel.

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

Parametry typu

TUser

Typ, který se používá k reprezentaci uživatele.

Odvozené

Metody

HashPassword(TUser, String)

Vrátí zatřiďovanou reprezentaci zadané password hodnoty hash zadané userhodnoty .

VerifyHashedPassword(TUser, String, String)

PasswordVerificationResult Vrátí indikující výsledek porovnání hodnot hash hesel.

Platí pro