اقرأ باللغة الإنجليزية

مشاركة عبر


PasswordHasher<TUser> Class

Definition

Implements the standard Identity password hashing.

C#
public class PasswordHasher<TUser> : Microsoft.AspNetCore.Identity.IPasswordHasher<TUser> where TUser : class

Type Parameters

TUser

The type used to represent a user.

Inheritance
PasswordHasher<TUser>
Implements

Constructors

Methods

HashPassword(TUser, String)

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

VerifyHashedPassword(TUser, String, String)

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

Applies to

منتج الإصدارات
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0