Backend: .NET 10 + PostgreSQL + EF Core + JWT + SignalR Frontend patient: React 19 + TypeScript + Vite (mobile H5) Frontend doctor: React 19 + TypeScript + Vite (desktop web)
8 lines
184 B
C#
8 lines
184 B
C#
namespace HealthManager.Domain.Interfaces;
|
|
|
|
public interface IJwtProvider
|
|
{
|
|
string GenerateAccessToken(Guid userId, string name, string role);
|
|
string GenerateRefreshToken();
|
|
}
|