Template
11 lines
372 B
C#
11 lines
372 B
C#
using RT.Domain.DTOs.Auth;
|
|
|
|
namespace RT.Application.Services.Contract;
|
|
|
|
public interface IAuthService
|
|
{
|
|
Task<LoginResponseDto> LoginAsync(LoginRequestDto dto, CancellationToken ct = default);
|
|
Task<LoginResponseDto> RefreshAsync(RefreshRequestDto dto, CancellationToken ct = default);
|
|
Task RevokeAsync(RefreshRequestDto dto, CancellationToken ct = default);
|
|
}
|