1 implementation of HashPassword
Microsoft.Extensions.Identity.Core (1)
PasswordHasher.cs (1)
99
public virtual string
HashPassword
(TUser user, string password)
3 references to HashPassword
Microsoft.AspNetCore.Identity.Specification.Tests (1)
UserManagerSpecificationTests.cs (1)
329
SetUserPasswordHash(user, manager.PasswordHasher.
HashPassword
(user, "New"));
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
582
hasher.Setup(s => s.
HashPassword
(user, pwd)).Returns(rehashed).Verifiable();
Microsoft.Extensions.Identity.Core (1)
UserManager.cs (1)
2228
var hash = newPassword != null ? PasswordHasher.
HashPassword
(user, newPassword) : null;