feat(auth): include expires_at in token responses and KeyPair DTO

This commit is contained in:
2026-07-24 13:25:04 +07:00
parent 9187fbb970
commit d59f96473d
9 changed files with 110 additions and 3 deletions

View File

@@ -19,4 +19,5 @@ async def authorize_user(
access_token=key_pair.access_token,
refresh_token=key_pair.refresh_token,
user=UserInfo(username=user.username, telegram_id=user.telegram_id),
expires_at=key_pair.expires_at,
)