Files
forkmessager/backend/src/Contracts/Auth/Application/Abstractions/IJwtTokenProvider.cs
T

10 lines
330 B
C#

namespace Knot.Contracts.Auth.Application.Abstractions;
public interface IJwtTokenProvider
{
string GenerateAccessToken(Guid userId, string username);
string GenerateRefreshToken();
string Generate(Guid userId, string username, string displayName, string? avatar);
string Generate(Domain.UserContract user);
}