PasswordHasher<TUser> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements the standard Identity password hashing.
generic <typename TUser>
where TUser : classpublic ref class PasswordHasher : Microsoft::AspNetCore::Identity::IPasswordHasher<TUser>
C#
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)
- TUser
The type used to represent a user.
- Inheritance
-
PasswordHasher<TUser>
- Implements
Password |
Creates a new instance of PasswordHasher<TUser>. |
Hash |
Returns a hashed representation of the supplied |
Verify |
Returns a PasswordVerificationResult indicating the result of a password hash comparison. |
منتج | الإصدارات |
---|---|
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 |