PasswordHasher<TUser> Class
Definition
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>
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)
Type Parameters
- TUser
The type used to represent a user.
- Inheritance
-
PasswordHasher<TUser>
- Implements
Constructors
PasswordHasher<TUser>(IOptions<PasswordHasherOptions>) |
Creates a new instance of PasswordHasher<TUser>. |
Methods
HashPassword(TUser, String) |
Returns a hashed representation of the supplied |
VerifyHashedPassword(TUser, String, String) |
Returns a PasswordVerificationResult indicating the result of a password hash comparison. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for