refactor(core): move identity models from API to Core

This commit is contained in:
Stevan Freeborn
2026-02-03 04:38:40 -06:00
parent e66911810f
commit 7e67e02a68
3 changed files with 10 additions and 12 deletions
@@ -1,9 +0,0 @@
namespace FiscalOS.API.Identity;
internal sealed class RefreshToken
{
public Guid Id { get; init; }
public Guid UserId { get; init; }
public User User { get; init; } = new();
}
-9
View File
@@ -1,9 +0,0 @@
namespace FiscalOS.API.Identity;
internal sealed class User
{
public Guid Id { get; init; }
public string Username { get; init; } = string.Empty;
public ICollection<RefreshToken> RefreshTokens { get; init; } = [];
}