mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 21:13:12 +00:00
14 lines
631 B
C#
14 lines
631 B
C#
|
|
using Data.SeaHavenIndustries;
|
||
|
|
|
||
|
|
namespace SeaHaven.DataServices.Interfaces
|
||
|
|
{
|
||
|
|
public interface IForgetPasswordDataService
|
||
|
|
{
|
||
|
|
Task ReplaceCodeAsync(string email, string userId, string code, CancellationToken cancellationToken);
|
||
|
|
Task<bool> CodeExistsAsync(string code, CancellationToken cancellationToken);
|
||
|
|
Task<bool> ExistsByEmailAndCodeAsync(string email, string code, CancellationToken cancellationToken);
|
||
|
|
Task<ForgetPasswordCode?> GetByEmailAsync(string email, CancellationToken cancellationToken);
|
||
|
|
Task RemoveByEmailAsync(string email, CancellationToken cancellationToken);
|
||
|
|
}
|
||
|
|
}
|