feat: Fixed errors
This commit is contained in:
11
LctMonolith/Services/Contracts/ITokenService.cs
Normal file
11
LctMonolith/Services/Contracts/ITokenService.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using LctMonolith.Models;
|
||||
using LctMonolith.Services.Models;
|
||||
|
||||
namespace LctMonolith.Services.Contracts;
|
||||
|
||||
public interface ITokenService
|
||||
{
|
||||
Task<TokenPair> IssueAsync(AppUser user, CancellationToken ct = default);
|
||||
Task<TokenPair> RefreshAsync(string refreshToken, CancellationToken ct = default);
|
||||
Task RevokeAsync(string refreshToken, CancellationToken ct = default);
|
||||
}
|
||||
Reference in New Issue
Block a user