PasswordHasher<TUser> Klasa

Definicja

Implementuje standardowe skróty haseł tożsamości.

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)

Parametry typu

TUser

Typ używany do reprezentowania użytkownika.

Dziedziczenie
PasswordHasher<TUser>
Implementuje

Konstruktory

PasswordHasher<TUser>(IOptions<PasswordHasherOptions>)

Tworzy nowe wystąpienie klasy PasswordHasher<TUser>.

Metody

HashPassword(TUser, String)

Zwraca skróconą reprezentację podanego password dla określonego userelementu .

VerifyHashedPassword(TUser, String, String)

Zwraca wartość PasswordVerificationResult wskazującą wynik porównania skrótów haseł.

Dotyczy