Template
Feature(Auth): Add Login and Refresh Token
This commit is contained in:
1 parent
bd7e505432
commit
dcc2e99bb1
20 files changed
+252
-20
No files matched your search
@@ -0,0 +1,10 @@
|
||||
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);
|
||||
}
|
||||
Reference in new issue
Block a user