10 references to ResetPasswordAsync
Identity.ExternalClaims (1)
Pages\Account\ResetPassword.cshtml.cs (1)
77var result = await _userManager.ResetPasswordAsync(user, Input.Code, Input.Password);
IdentitySample.Mvc (1)
Controllers\AccountController.cs (1)
325var result = await _userManager.ResetPasswordAsync(user, model.Code, model.Password);
Microsoft.AspNetCore.Identity.Specification.Tests (4)
UserManagerSpecificationTests.cs (4)
511IdentityResultAssert.IsFailure(await manager.ResetPasswordAsync(user, token, newPassword)); 1001IdentityResultAssert.IsSuccess(await manager.ResetPasswordAsync(user, token, newPassword)); 1026IdentityResultAssert.IsFailure(await manager.ResetPasswordAsync(user, token, newPassword), 1049IdentityResultAssert.IsFailure(await manager.ResetPasswordAsync(user, "bogus", newPassword), "Invalid token.");
Microsoft.AspNetCore.Identity.Test (2)
UserManagerTest.cs (2)
1095async () => await manager.ResetPasswordAsync(null, null, null)); 1179await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.ResetPasswordAsync(null, null, null));
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\ResetPassword.cshtml.cs (1)
120var result = await _userManager.ResetPasswordAsync(user, Input.Code, Input.Password);
Areas\Identity\Pages\V5\Account\ResetPassword.cshtml.cs (1)
120var result = await _userManager.ResetPasswordAsync(user, Input.Code, Input.Password);