update auth for refresh tokens and token invalidation

This commit is contained in:
voltsrage
2026-06-26 04:32:01 +08:00
parent 9777a335c5
commit abb33de5c1
20 changed files with 1183 additions and 12 deletions
@@ -1,5 +1,7 @@
public interface IAuthService
{
Task<LoginResponse> LoginAsync(LoginRequest req);
Task<TokenResponse> RefreshAsync(RefreshRequest req);
Task LogoutAsync(LogoutRequest req);
Task<User> GetCurrentUserAsync(Guid userId);
}
}