View Source
Class UmbracoPasswordHasher<TUser>
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class UmbracoPasswordHasher<TUser> : PasswordHasher<TUser> where TUser : UmbracoIdentityUser
Type Parameters
Constructors
View Source
UmbracoPasswordHasher(LegacyPasswordSecurity, IJsonSerializer)
Declaration
public UmbracoPasswordHasher(LegacyPasswordSecurity legacyPasswordSecurity, IJsonSerializer jsonSerializer)
Parameters
Properties
View Source
LegacyPasswordSecurity
Declaration
public LegacyPasswordSecurity LegacyPasswordSecurity { get; }
Property Value
Methods
View Source
HashPassword(TUser, String)
Declaration
public override string HashPassword(TUser user, string password)
Parameters
Type |
Name |
Description |
TUser |
user |
|
System.String |
password |
|
Returns
Type |
Description |
System.String |
|
View Source
VerifyHashedPassword(TUser, String, String)
Verifies a user's hashed password
Declaration
public override PasswordVerificationResult VerifyHashedPassword(TUser user, string hashedPassword, string providedPassword)
Parameters
Type |
Name |
Description |
TUser |
user |
|
System.String |
hashedPassword |
|
System.String |
providedPassword |
|
Returns
Type |
Description |
PasswordVerificationResult |
|