You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IAuthenticationService.cs 794B

123456789101112131415161718192021
  1. namespace Diligent.WebAPI.Business.Services.Interfaces
  2. {
  3. public interface IAuthenticationService
  4. {
  5. Task<ServiceResponseDTO<AuthenticateResponseDto>> Authenticate(AuthenticateRequestDto model);
  6. Task<ServiceResponseDTO<AuthenticateResponseDto>> Authenticate(GoogleApiModel model);
  7. Task<RefreshTokenResultDto> RefreshTokenAsync(RefreshTokenRequestDto model);
  8. Task<RefreshToken?> GetRefreshTokenByUserId(int userId);
  9. Task UpdateRefreshToken(RefreshToken refreshToken);
  10. Task<ServiceResponseDTO<string>> DeleteRefreshToken(int userId);
  11. Task<ServiceResponseDTO<object>> GetEmailConfirmationUrlAsync(string email);
  12. Task<ServiceResponseDTO<object>> PasswordResetAsync(string email, string code, string password);
  13. }
  14. }