View Source
Interface IUserAwarePasswordHasher<TUser, TKey>
A password hasher that is User aware so that it can process the hashing based on the user's settings
Assembly: Umbraco.Core.dll
Syntax
public interface IUserAwarePasswordHasher<in TUser, TKey>
where TUser : class, IUser<TKey> where TKey : IEquatable<TKey>
Type Parameters
Name |
Description |
TUser |
|
TKey |
|
Methods
View Source
HashPassword(TUser, String)
Declaration
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)
Declaration
PasswordVerificationResult VerifyHashedPassword(TUser user, string hashedPassword, string providedPassword)
Parameters
Type |
Name |
Description |
TUser |
user |
|
System.String |
hashedPassword |
|
System.String |
providedPassword |
|
Returns
Type |
Description |
PasswordVerificationResult |
|