Files

11 lines
377 B
C#
Raw Normal View History

2024-04-27 22:36:16 +02:00
using WatchIt.Database.Model.Account;
namespace WatchIt.WebAPI.Services.Utility.Tokens;
public interface ITokensService
{
Task<string> CreateRefreshTokenAsync(Account account, bool extendable);
Task<string> ExtendRefreshTokenAsync(Account account, Guid id);
Task<string> CreateAccessTokenAsync(Account account);
string CreateAccessToken(Account account);
}