refresh token generation added

This commit is contained in:
2026-02-02 20:34:29 +01:00
Unverified
parent dc12ee75e5
commit ffa2d68a64
4 changed files with 25 additions and 5 deletions

View File

@@ -5,6 +5,6 @@ namespace TimetableDesigner.Backend.Services.Authentication.Core.Helpers;
public interface ITokenGenerator
{
string GenerateAccessToken(Account account);
Task<string> GenerateRefreshTokenAsync(Account account);
Task<string> GenerateRefreshTokenAsync(Account account, bool isExtendable);
Task<string> ExtendRefreshTokenAsync();
}