View Source
Class MembershipProviderPasswordHasher
A password hasher that conforms to the password hashing done with membership providers
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class MembershipProviderPasswordHasher : IMembershipProviderPasswordHasher
Constructors
View Source
MembershipProviderPasswordHasher(MembershipProviderBase)
Declaration
public MembershipProviderPasswordHasher(MembershipProviderBase provider)
Parameters
Properties
View Source
MembershipProvider
Exposes the underlying MembershipProvider
Declaration
public MembershipProviderBase MembershipProvider { get; }
Property Value
Methods
View Source
HashPassword(String)
Declaration
public string HashPassword(string password)
Parameters
Type |
Name |
Description |
System.String |
password |
|
Returns
Type |
Description |
System.String |
|
View Source
VerifyHashedPassword(String, String)
Declaration
public PasswordVerificationResult VerifyHashedPassword(string hashedPassword, string providedPassword)
Parameters
Type |
Name |
Description |
System.String |
hashedPassword |
|
System.String |
providedPassword |
|
Returns
Type |
Description |
PasswordVerificationResult |
|