PasswordHasher<TUser> Classe

Definizione

Implementa l'hash delle password di identità standard.

generic <typename TUser>
 where TUser : classpublic ref class PasswordHasher : Microsoft::AspNetCore::Identity::IPasswordHasher<TUser>
public class PasswordHasher<TUser> : Microsoft.AspNetCore.Identity.IPasswordHasher<TUser> where TUser : class
type PasswordHasher<'User (requires 'User : null)> = class
    interface IPasswordHasher<'User (requires 'User : null)>
Public Class PasswordHasher(Of TUser)
Implements IPasswordHasher(Of TUser)

Parametri di tipo

TUser

Tipo utilizzato per rappresentare un utente.

Ereditarietà
PasswordHasher<TUser>
Implementazioni

Costruttori

PasswordHasher<TUser>(IOptions<PasswordHasherOptions>)

Crea una nuova istanza di PasswordHasher<TUser>.

Metodi

HashPassword(TUser, String)

Restituisce una rappresentazione hash dell'oggetto fornito password per l'oggetto specificato user.

VerifyHashedPassword(TUser, String, String)

Restituisce un PasswordVerificationResult valore che indica il risultato di un confronto dell'hash delle password.

Si applica a