PasswordHasher<TUser> PasswordHasher<TUser> PasswordHasher<TUser> Class

Definition

Implements the standard Identity password hashing.

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>PasswordHasher<TUser>PasswordHasher<TUser>
Implements

Constructors

PasswordHasher<TUser>(IOptions<PasswordHasherOptions>) PasswordHasher<TUser>(IOptions<PasswordHasherOptions>) PasswordHasher<TUser>(IOptions<PasswordHasherOptions>)

Creates a new instance of PasswordHasher<TUser>.

Methods

HashPassword(TUser, String) HashPassword(TUser, String) HashPassword(TUser, String)

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

VerifyHashedPassword(TUser, String, String) VerifyHashedPassword(TUser, String, String) VerifyHashedPassword(TUser, String, String)

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

Applies to