Init Git
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
using AMREZ.EOP.Contracts.DTOs.Authentications.AddEmailIdentity;
|
||||
|
||||
namespace AMREZ.EOP.Abstractions.Applications.UseCases.Authentications;
|
||||
|
||||
public interface IAddEmailIdentityUseCase
|
||||
{
|
||||
Task<bool> ExecuteAsync(AddEmailIdentityRequest request, CancellationToken ct = default);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using AMREZ.EOP.Contracts.DTOs.Authentications.ChangePassword;
|
||||
|
||||
namespace AMREZ.EOP.Abstractions.Applications.UseCases.Authentications;
|
||||
|
||||
public interface IChangePasswordUseCase
|
||||
{
|
||||
Task<bool> ExecuteAsync(ChangePasswordRequest request, CancellationToken ct = default);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using AMREZ.EOP.Contracts.DTOs.Authentications.DisableMfa;
|
||||
|
||||
namespace AMREZ.EOP.Abstractions.Applications.UseCases.Authentications;
|
||||
|
||||
public interface IDisableMfaUseCase
|
||||
{
|
||||
Task<bool> ExecuteAsync(DisableMfaRequest request, CancellationToken ct = default);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using AMREZ.EOP.Contracts.DTOs.Authentications.EnableTotp;
|
||||
|
||||
namespace AMREZ.EOP.Abstractions.Applications.UseCases.Authentications;
|
||||
|
||||
public interface IEnableTotpUseCase
|
||||
{
|
||||
Task<EnableTotpResponse?> ExecuteAsync(EnableTotpRequest request, CancellationToken ct = default);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using AMREZ.EOP.Contracts.DTOs.Authentications.Login;
|
||||
|
||||
namespace AMREZ.EOP.Abstractions.Applications.UseCases.Authentications;
|
||||
|
||||
public interface ILoginUseCase
|
||||
{
|
||||
Task<LoginResponse?> ExecuteAsync(LoginRequest request, CancellationToken ct = default);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using AMREZ.EOP.Contracts.DTOs.Authentications.LogoutAll;
|
||||
|
||||
namespace AMREZ.EOP.Abstractions.Applications.UseCases.Authentications;
|
||||
|
||||
public interface ILogoutAllUseCase
|
||||
{
|
||||
Task<int> ExecuteAsync(LogoutAllRequest request, CancellationToken ct = default);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using AMREZ.EOP.Contracts.DTOs.Authentications.Logout;
|
||||
|
||||
namespace AMREZ.EOP.Abstractions.Applications.UseCases.Authentications;
|
||||
|
||||
public interface ILogoutUseCase
|
||||
{
|
||||
Task<bool> ExecuteAsync(LogoutRequest request, CancellationToken ct = default);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using AMREZ.EOP.Contracts.DTOs.Authentications.Register;
|
||||
|
||||
namespace AMREZ.EOP.Abstractions.Applications.UseCases.Authentications;
|
||||
|
||||
public interface IRegisterUseCase
|
||||
{
|
||||
Task<RegisterResponse?> ExecuteAsync(RegisterRequest request, CancellationToken ct = default);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using AMREZ.EOP.Contracts.DTOs.Authentications.VerifyEmail;
|
||||
|
||||
namespace AMREZ.EOP.Abstractions.Applications.UseCases.Authentications;
|
||||
|
||||
public interface IVerifyEmailUseCase
|
||||
{
|
||||
Task<bool> ExecuteAsync(VerifyEmailRequest request, CancellationToken ct = default);
|
||||
}
|
||||
Reference in New Issue
Block a user