femto-backend/Femto.Common/ICurrentUserContext.cs
2025-05-21 00:19:49 +02:00

11 lines
248 B
C#

namespace Femto.Common;
public interface ICurrentUserContext
{
CurrentUser? tryGetUserCurrentUser();
bool HasUser { get; }
CurrentUser CurrentUser { get; }
}
public record CurrentUser(Guid Id, string Username, string SessionId);