identity: reset user 2fa on password reset

This commit is contained in:
Abdullah Atta
2023-09-09 20:31:02 +05:00
parent 1a5fe8230e
commit d91df60c57
3 changed files with 17 additions and 0 deletions
@@ -28,6 +28,7 @@ namespace Streetwriters.Identity.Interfaces
{
Task EnableMFAAsync(User user, string primaryMethod);
Task<bool> DisableMFAAsync(User user);
Task<bool> ResetMFAAsync(User user);
Task SetSecondaryMethodAsync(User user, string secondaryMethod);
string GetPrimaryMethod(User user);
string GetSecondaryMethod(User user);