示例#1
0
 PasswordVerificationResult IPasswordHasher <User> .VerifyHashedPassword(User user, string hashedPassword, string providedPassword)
 {
     return(_passwordManager.VerifyHashedPassword(hashedPassword, providedPassword) ? PasswordVerificationResult.Success : PasswordVerificationResult.Failed);
 }
 public PasswordVerificationResult VerifyHashedPassword(string hashedPassword, string providedPassword)
 {
     return(_passwordManager.VerifyHashedPassword(hashedPassword, providedPassword) ? PasswordVerificationResult.Success : PasswordVerificationResult.Failed);
 }