View Source
Class MemberPasswordHasher
A password hasher for members
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class MemberPasswordHasher : UmbracoPasswordHasher<MemberIdentityUser>
Constructors
View Source
MemberPasswordHasher(LegacyPasswordSecurity, IJsonSerializer)
Declaration
public MemberPasswordHasher(LegacyPasswordSecurity legacyPasswordHasher, IJsonSerializer jsonSerializer)
Parameters
View Source
MemberPasswordHasher(LegacyPasswordSecurity, IJsonSerializer, IOptions<LegacyPasswordMigrationSettings>, ILogger<MemberPasswordHasher>)
Declaration
public MemberPasswordHasher(LegacyPasswordSecurity legacyPasswordHasher, IJsonSerializer jsonSerializer, IOptions<LegacyPasswordMigrationSettings> legacyMachineKeySettings, ILogger<MemberPasswordHasher> logger)
Parameters
Methods
View Source
VerifyHashedPassword(MemberIdentityUser, String, String)
Verifies a user's hashed password
Declaration
public override PasswordVerificationResult VerifyHashedPassword(MemberIdentityUser user, string hashedPassword, string providedPassword)
Parameters
Type |
Name |
Description |
MemberIdentityUser |
user |
|
System.String |
hashedPassword |
|
System.String |
providedPassword |
|
Returns
Type |
Description |
PasswordVerificationResult |
|