Reorganized file structure and namespaces

This commit is contained in:
Veljko Tosic
2026-02-14 19:16:06 +01:00
parent 12bded085b
commit b2812feaab
11 changed files with 19 additions and 22 deletions

View File

@@ -0,0 +1,12 @@
namespace AipsCore.Infrastructure.Persistence.RefreshToken;
public static class RefreshTokenMappers
{
public static Application.Common.Authentication.Models.RefreshToken MapToModel(this Persistence.RefreshToken.RefreshToken entity)
{
return new Application.Common.Authentication.Models.RefreshToken(
entity.Token,
entity.UserId.ToString(),
entity.ExpiresAt);
}
}