NonInventPurchasingSystem/CPRNIMS.Domain/Contracts/Account/IForgotPassword.cs
2026-01-20 07:44:30 +08:00

21 lines
698 B
C#

using CPRNIMS.Infrastructure.Entities.Account;
using CPRNIMS.Infrastructure.Entities.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CPRNIMS.Domain.Contracts.Account
{
public interface IForgotPassword
{
Task ForgotPassword(ForgotPassword forgotPassword);
Task SaveUpdateOTPAsync(Otps forgotPassword, bool isPassChanged);
Task SaveToken(ForgotPassword forgotPassword);
Task OptimizeMessageBody(ForgotPassword forgotPassword);
Task<bool> ValidateOTP(Otps forgotPassword);
Task<bool> ValidateTokenURLForgotPassword(ForgotPassword forgotPassword);
}
}