Migrate TokenService.RefreshTokenAsync to UserManager

Last remaining IAuthRepository call site; RefreshTokenResult now
carries a plain (Guid, string) instead of UserAccount.
This commit is contained in:
Aaron Po
2026-08-22 01:36:27 -04:00
parent ceadf125d8
commit 96c83842d3
6 changed files with 37 additions and 37 deletions

View File

@@ -22,8 +22,8 @@ public class RefreshTokenHandler(ITokenService tokenService)
{
RefreshTokenResult result = await tokenService.RefreshTokenAsync(request.RefreshToken);
return new LoginPayload(
result.UserAccount.UserAccountId,
result.UserAccount.Username,
result.UserId,
result.Username,
result.RefreshToken,
result.AccessToken
);